summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index 901379a..6c9307d 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -435,7 +435,7 @@ def clean_str(raw: Optional[str], strip_trailing_period: bool = False) -> Option
return text
-def scrub_text(raw: str, mimetype: str = None) -> Optional[str]:
+def scrub_text(raw: str) -> Optional[str]:
"""
This function takes a mimetype-hinted string and tries to reduce it to a
simple token-and-punctuation scheme with any and all markup removed. Eg,