From 5669e4e289e99e9bda62409853169ec9ed605f0c Mon Sep 17 00:00:00 2001 From: Ashwini Purohit Date: Mon, 5 Jun 2017 06:30:56 +0530 Subject: [PATCH] fixes python3 installation error Fixes invalid syntax error --- pdfparanoia/plugins/jstor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfparanoia/plugins/jstor.py b/pdfparanoia/plugins/jstor.py index 5821751..5f38598 100644 --- a/pdfparanoia/plugins/jstor.py +++ b/pdfparanoia/plugins/jstor.py @@ -95,7 +95,7 @@ class JSTOR(Plugin): replacements.append([objid, better_content]) page_id += 1 - except PDFObjectNotFound, e: + except PDFObjectNotFound as e: print >>sys.stderr, 'Missing object: %r' % e if verbose >= 1 and replacements: