aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-22 14:28:45 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-22 14:28:45 -0700
commit9ba5b2e307c7f61f60304ba104bf3cc8424b7163 (patch)
treea300db99102c6d4a84582f5e816da0ccccfb72dc
parente915a29ddd4a0d88f215747672e6c269f2d1baef (diff)
downloadchocula-9ba5b2e307c7f61f60304ba104bf3cc8424b7163.tar.gz
chocula-9ba5b2e307c7f61f60304ba104bf3cc8424b7163.zip
EZB color not a good proxy for OA status
-rw-r--r--chocula/database.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/chocula/database.py b/chocula/database.py
index b89d8ba..c7fee47 100644
--- a/chocula/database.py
+++ b/chocula/database.py
@@ -501,8 +501,6 @@ class ChoculaDatabase:
out["is_oa"] = True
if irow["slug"] == "ezb":
ezb_extra = json.loads(irow["extra"])
- if ezb_extra["ezb_color"] == "green":
- out["is_oa"] = True
if irow["slug"] == "sherpa_romeo":
extra = json.loads(irow["extra"])
out["sherpa_color"] = extra["sherpa_romeo"]["color"]