summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat_tools/importers/datacite.py4
1 files changed, 3 insertions, 1 deletions
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)