diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-01-08 03:53:19 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-01-08 03:53:19 +0100 |
commit | 5d7a7651f0ae6f66ca60930daaf194350814e5a6 (patch) | |
tree | f2cb0d97113c080142220ebfc62c5db97551401b /python/fatcat_tools/importers/datacite.py | |
parent | a7e5460d6355dd0e99b08e480d4e50755fda3b16 (diff) | |
download | fatcat-5d7a7651f0ae6f66ca60930daaf194350814e5a6.tar.gz fatcat-5d7a7651f0ae6f66ca60930daaf194350814e5a6.zip |
datacite: name extra.month, extra.release_month
Diffstat (limited to 'python/fatcat_tools/importers/datacite.py')
-rw-r--r-- | python/fatcat_tools/importers/datacite.py | 4 |
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) |