From 17e2929d45232fe482eab386ddc6f3a650deeb3c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 22 May 2019 14:07:18 -0700 Subject: arxiv: another type of latex2text error --- python/fatcat_tools/importers/arxiv.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') 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: -- cgit v1.2.3