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: