diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-29 00:26:29 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-29 00:26:29 -0800 |
commit | 20d64731769de21ee3717066accb245f2a54484e (patch) | |
tree | 4e0f951eeac43f6fd37d49b6e623efd707c5fa01 /fatcat_scholar | |
parent | 0b0c1581ef5a30ad69d43c3103561de1a3a7ac32 (diff) | |
download | fatcat-scholar-20d64731769de21ee3717066accb245f2a54484e.tar.gz fatcat-scholar-20d64731769de21ee3717066accb245f2a54484e.zip |
bugfix: container_sherpa_color not defined
Diffstat (limited to 'fatcat_scholar')
-rw-r--r-- | fatcat_scholar/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py index 0f02f1e..9b2d2fb 100644 --- a/fatcat_scholar/schema.py +++ b/fatcat_scholar/schema.py @@ -485,6 +485,7 @@ def es_abstracts_from_release(release: ReleaseEntity) -> List[ScholarAbstract]: def es_biblio_from_release(release: ReleaseEntity) -> ScholarBiblio: container_name = release.extra and release.extra.get("container_name") + container_sherpa_color = None if release.container: publisher = release.publisher or release.container.publisher @@ -515,7 +516,6 @@ def es_biblio_from_release(release: ReleaseEntity) -> ScholarBiblio: container_ident = None container_type = None container_issnl = None - container_sherpa_color = None issns = [] first_page: Optional[str] = None |