From d7a6ca39fea4d362bf4489349398bb5f81a890a7 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 29 Apr 2013 22:17:31 +0200 Subject: Quick fix: s/print/logging/ in office.py --- MAT/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAT/office.py b/MAT/office.py index a861919..c6e86fb 100644 --- a/MAT/office.py +++ b/MAT/office.py @@ -181,7 +181,7 @@ class PdfStripper(parser.GenericParser): writer.write(self.output) self.do_backup() except: - print('Unable to remove all metadata from %s, please install\ + logging.error('Unable to remove all metadata from %s, please install\ pdfrw' % self.output) return False return True -- cgit v1.3