aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-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,