summaryrefslogtreecommitdiffstats
path: root/python/parse_arxivraw_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/parse_arxivraw_xml.py')
-rw-r--r--python/parse_arxivraw_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/parse_arxivraw_xml.py b/python/parse_arxivraw_xml.py
index 16def821..9b9f28c9 100644
--- a/python/parse_arxivraw_xml.py
+++ b/python/parse_arxivraw_xml.py
@@ -126,7 +126,7 @@ class ArxivRawXmlParser():
both = abst.split('-----')
abst = both[0].strip()
orig = both[1].strip()
- if '$' in abst or '{' in abstr:
+ if '$' in abst or '{' in abst:
mime = "application/x-latex"
abst_plain = latex2text.latex_to_text(abst)
abstracts.append(dict(content=abst_plain, mime="text/plain", lang="en"))