aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/transform.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 22:46:06 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 22:46:06 -0800
commiteeac3b091cfa9937e7222253c650e21d0865eb79 (patch)
tree2f5aa4baaae8ce29812fc23e5ee071533b7c28b7 /fatcat_scholar/transform.py
parentb9ad86071622b0e12cc5ff7fccc4e094785891fb (diff)
downloadfatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.tar.gz
fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.zip
make fmt
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r--fatcat_scholar/transform.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index 539f76f..e50c411 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -401,7 +401,10 @@ def check_exclude_web(biblio: ScholarBiblio) -> bool:
"""
if biblio.release_year and biblio.release_year <= 1925:
return False
- if biblio.container_ident and biblio.container_ident in settings.EXCLUDE_WEB_CONTAINER_IDENTS:
+ if (
+ biblio.container_ident
+ and biblio.container_ident in settings.EXCLUDE_WEB_CONTAINER_IDENTS
+ ):
return True
if biblio.publisher:
for pub in settings.EXCLUDE_WEB_PUBLISHERS: