summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r--python/fatcat_tools/transforms/ingest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/transforms/ingest.py b/python/fatcat_tools/transforms/ingest.py
index 9aaeaa84..42927b2a 100644
--- a/python/fatcat_tools/transforms/ingest.py
+++ b/python/fatcat_tools/transforms/ingest.py
@@ -50,9 +50,9 @@ def release_ingest_request(release, ingest_request_source='fatcat', ingest_type=
link_source = "pmc"
link_source_id = release.ext_ids.pmcid
elif release.ext_ids.doi:
- url = "https://doi.org/{}".format(release.ext_ids.doi)
+ url = "https://doi.org/{}".format(release.ext_ids.doi.lower())
link_source = "doi"
- link_source_id = release.ext_ids.doi
+ link_source_id = release.ext_ids.doi.lower()
if not url:
return None