summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:07:18 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:07:18 -0700
commit17e2929d45232fe482eab386ddc6f3a650deeb3c (patch)
tree2ba926f0fbb97e1a40b1fcac6bfe0df9ea5bbfb7 /python/fatcat_tools/importers
parent5f8c499494d668f150efd0e68a511b3ca6669203 (diff)
downloadfatcat-17e2929d45232fe482eab386ddc6f3a650deeb3c.tar.gz
fatcat-17e2929d45232fe482eab386ddc6f3a650deeb3c.zip
arxiv: another type of latex2text error
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/arxiv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py
index be93334c..31f3722d 100644
--- a/python/fatcat_tools/importers/arxiv.py
+++ b/python/fatcat_tools/importers/arxiv.py
@@ -18,6 +18,8 @@ def latex_to_text(raw):
return latex2text.latex_to_text(raw).strip()
except AttributeError:
return raw.strip()
+ except IndexError:
+ return raw.strip()
def parse_arxiv_authors(raw):
if not raw: