diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:46:06 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:46:06 -0800 |
commit | eeac3b091cfa9937e7222253c650e21d0865eb79 (patch) | |
tree | 2f5aa4baaae8ce29812fc23e5ee071533b7c28b7 /fatcat_scholar/transform.py | |
parent | b9ad86071622b0e12cc5ff7fccc4e094785891fb (diff) | |
download | fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.tar.gz fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.zip |
make fmt
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r-- | fatcat_scholar/transform.py | 5 |
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: |