summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-11 18:03:18 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-03-11 18:03:18 -0700
commit9f7f6f9446a431564b3d7e12e117f16cbf41a9fd (patch)
treef0d896b9962d5b426e32235deb5c9cf226cd6d9b /python/fatcat_tools/transforms
parent655f7060eb5b5e711a8a892cb1085639c4aa8fd2 (diff)
downloadfatcat-9f7f6f9446a431564b3d7e12e117f16cbf41a9fd.tar.gz
fatcat-9f7f6f9446a431564b3d7e12e117f16cbf41a9fd.zip
more integration of transform refactor
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r--python/fatcat_tools/transforms/csl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/transforms/csl.py b/python/fatcat_tools/transforms/csl.py
index f9615b26..c2e90539 100644
--- a/python/fatcat_tools/transforms/csl.py
+++ b/python/fatcat_tools/transforms/csl.py
@@ -115,8 +115,8 @@ def release_to_csl(entity):
#original-publisher
#original-publisher-place
#original-title
- # XXX: page=entity.pages,
- page_first=entity.pages.split('-')[0],
+ # TODO: page=entity.pages,
+ page_first=entity.pages and entity.pages.split('-')[0],
PMCID=entity.pmcid,
PMID=entity.pmid,
publisher=(entity.container and entity.container.publisher) or entity.publisher,