aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-11-16 16:10:08 -0800
committerBryan Newbold <bnewbold@archive.org>2021-11-16 16:10:08 -0800
commit9d8da0ec55a3d901bf7ffad6d86fd8cc08f89b6f (patch)
tree85110a42a24eadef9f30af3f574ea8072fbda6a0 /python
parente323b390bf6790edfd8a4d0683642a480e62c743 (diff)
downloadsandcrawler-9d8da0ec55a3d901bf7ffad6d86fd8cc08f89b6f.tar.gz
sandcrawler-9d8da0ec55a3d901bf7ffad6d86fd8cc08f89b6f.zip
make fmt
Diffstat (limited to 'python')
-rw-r--r--python/sandcrawler/grobid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/grobid.py b/python/sandcrawler/grobid.py
index 8c575bc..6dbed16 100644
--- a/python/sandcrawler/grobid.py
+++ b/python/sandcrawler/grobid.py
@@ -160,7 +160,7 @@ class GrobidClient(object):
try:
tei_doc = parse_document_xml(result["tei_xml"])
except xml.etree.ElementTree.ParseError as pe:
- result['status'] = 'bad-grobid-xml'
+ result["status"] = "bad-grobid-xml"
return dict(error_msg=str(pe)[:1000])
tei_doc.remove_encumbered()
tei_json = tei_doc.to_legacy_dict()