From 351ab23bea9a7a95a9be2b18f65ef51564222a8c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Sep 2020 19:16:24 -0700 Subject: ingest: small bugfix to print pdfextract status on SUCCESS --- python/sandcrawler/ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/sandcrawler/ingest.py b/python/sandcrawler/ingest.py index e8b3551..e8e517a 100644 --- a/python/sandcrawler/ingest.py +++ b/python/sandcrawler/ingest.py @@ -499,7 +499,7 @@ class IngestFileWorker(SandcrawlerWorker): print("[SUCCESS\t] sha1:{} grobid:{} pdfextract:{}".format( result.get('file_meta', {}).get('sha1hex'), result.get('grobid', {}).get('status_code'), - result.get('pdfextract', {}).get('status'), + result.get('pdf_meta', {}).get('status'), ), file=sys.stderr) return result -- cgit v1.2.3