summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/schema.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/schema.py
parentb9ad86071622b0e12cc5ff7fccc4e094785891fb (diff)
downloadfatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.tar.gz
fatcat-scholar-eeac3b091cfa9937e7222253c650e21d0865eb79.zip
make fmt
Diffstat (limited to 'fatcat_scholar/schema.py')
-rw-r--r--fatcat_scholar/schema.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index 9377048..0f02f1e 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -500,7 +500,9 @@ def es_biblio_from_release(release: ReleaseEntity) -> ScholarBiblio:
if release.container.extra:
publisher_type = release.container.extra.get("publisher_type")
container_original_name = release.container.extra.get("original_name")
- container_sherpa_color = release.container.extra.get("sherpa_romeo", {}).get("color")
+ container_sherpa_color = release.container.extra.get(
+ "sherpa_romeo", {}
+ ).get("color")
if release.container.extra.get("issne"):
issns.append(release.container.extra["issne"])
if release.container.extra.get("issnp"):