summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/arxiv.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/arxiv.py')
-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: