aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/schema.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-29 00:26:29 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-29 00:26:29 -0800
commit20d64731769de21ee3717066accb245f2a54484e (patch)
tree4e0f951eeac43f6fd37d49b6e623efd707c5fa01 /fatcat_scholar/schema.py
parent0b0c1581ef5a30ad69d43c3103561de1a3a7ac32 (diff)
downloadfatcat-scholar-20d64731769de21ee3717066accb245f2a54484e.tar.gz
fatcat-scholar-20d64731769de21ee3717066accb245f2a54484e.zip
bugfix: container_sherpa_color not defined
Diffstat (limited to 'fatcat_scholar/schema.py')
-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 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