summaryrefslogtreecommitdiff
path: root/MAT
diff options
context:
space:
mode:
authorjvoisin2013-04-29 22:17:31 +0200
committerjvoisin2013-04-29 22:17:31 +0200
commitd7a6ca39fea4d362bf4489349398bb5f81a890a7 (patch)
treef7cc78f9316da720b155f9722c415f4459de16cf /MAT
parent23f2db700575786bc111a28a963e2e240d90c534 (diff)
Quick fix: s/print/logging/ in office.py
Diffstat (limited to 'MAT')
-rw-r--r--MAT/office.py2
1 files changed, 1 insertions, 1 deletions
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):
181 writer.write(self.output) 181 writer.write(self.output)
182 self.do_backup() 182 self.do_backup()
183 except: 183 except:
184 print('Unable to remove all metadata from %s, please install\ 184 logging.error('Unable to remove all metadata from %s, please install\
185pdfrw' % self.output) 185pdfrw' % self.output)
186 return False 186 return False
187 return True 187 return True