From 20d64731769de21ee3717066accb245f2a54484e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 29 Jan 2021 00:26:29 -0800 Subject: bugfix: container_sherpa_color not defined --- fatcat_scholar/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fatcat_scholar/schema.py') 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 -- cgit v1.2.3