diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-07-26 14:17:25 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-07-26 14:17:25 -0700 |
commit | 51a36f5e6069efedef0fbcd0ba319ced8f28eba4 (patch) | |
tree | 35645b5ad707b8f51b38dc3ea7ba0ab9b94353f2 /fatcat_scholar/identifiers.py | |
parent | bbdad7688b60de4cc5fb4e30ba80e73d2d2ac646 (diff) | |
download | fatcat-scholar-51a36f5e6069efedef0fbcd0ba319ced8f28eba4.tar.gz fatcat-scholar-51a36f5e6069efedef0fbcd0ba319ced8f28eba4.zip |
make fmt
Diffstat (limited to 'fatcat_scholar/identifiers.py')
-rw-r--r-- | fatcat_scholar/identifiers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/identifiers.py b/fatcat_scholar/identifiers.py index 7572e20..9a64de8 100644 --- a/fatcat_scholar/identifiers.py +++ b/fatcat_scholar/identifiers.py @@ -27,7 +27,7 @@ def clean_doi(raw: Optional[str]) -> Optional[str]: if not "10." in raw: return None if not raw.startswith("10."): - raw = raw[raw.find("10."):] + raw = raw[raw.find("10.") :] if raw[7:9] == "//": raw = raw[:8] + raw[9:] |