From 5d7a7651f0ae6f66ca60930daaf194350814e5a6 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 8 Jan 2020 03:53:19 +0100 Subject: datacite: name extra.month, extra.release_month --- python/fatcat_tools/importers/datacite.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/fatcat_tools') diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index 90bc3db7..aaf1af2c 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -686,8 +686,10 @@ class DataciteImporter(EntityImporter): # Always include datacite key, even if value is empty (dict). extra['datacite'] = extra_datacite + + # Preparation for a schema update. if release_month: - extra['month'] = release_month + extra['release_month'] = release_month extids = self.lookup_ext_ids(doi=doi) -- cgit v1.2.3