aboutsummaryrefslogtreecommitdiffstats
path: root/chocula
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-02 18:42:27 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-02 18:42:27 -0700
commita4ec19097d3e4686b2f140486e1fc16952b62e74 (patch)
treee3642890aef62e74a5b6c6ffc446becbc7bc10c1 /chocula
parent8c403d9659360f59ee71d42824617371c76f6986 (diff)
downloadchocula-a4ec19097d3e4686b2f140486e1fc16952b62e74.tar.gz
chocula-a4ec19097d3e4686b2f140486e1fc16952b62e74.zip
update sources; fix as_of in DOAJ
Diffstat (limited to 'chocula')
-rw-r--r--chocula/directories/doaj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chocula/directories/doaj.py b/chocula/directories/doaj.py
index 8fe62b4..7968dc2 100644
--- a/chocula/directories/doaj.py
+++ b/chocula/directories/doaj.py
@@ -95,7 +95,7 @@ class DoajLoader(DirectoryLoader):
extra: Dict[str, Any] = dict(doaj=dict())
extra['mimetypes'] = parse_mimetypes(row['Full text formats'])
- extra['doaj']['as_of'] = self.config.doaj.date
+ extra['doaj']['as_of'] = self.config.snapshot.date
if row['DOAJ Seal']:
extra['doaj']['seal'] = {"no": False, "yes": True}[row['DOAJ Seal'].lower()]