aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/issue_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r--fatcat_scholar/issue_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index 3ca6b79..320c98d 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -255,7 +255,7 @@ class IssueDB:
if not line:
continue
obj = json.loads(line)
- if not "metadata" in obj:
+ if "metadata" not in obj:
continue
meta = obj["metadata"]
assert "periodicals" in meta["collection"]
@@ -293,7 +293,7 @@ class IssueDB:
if not line:
continue
obj = json.loads(line)
- if not "metadata" in obj:
+ if "metadata" not in obj:
continue
meta = obj["metadata"]
assert "periodicals" in meta["collection"]