diff options
| author | jvoisin | 2012-05-03 17:20:03 -0400 |
|---|---|---|
| committer | jvoisin | 2012-05-03 17:20:03 -0400 |
| commit | a3b542285331823ab8e05662a3ae0d5fc73f974f (patch) | |
| tree | 5e0adb7f27d929e318f9365bc913925bc2eaed39 /lib/office.py | |
| parent | e76571e2dddee0dba228d05579f6aef28630ba63 (diff) | |
Better handling of dependencies regarding to PDF processing
Diffstat (limited to 'lib/office.py')
| -rw-r--r-- | lib/office.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/office.py b/lib/office.py index 8350244..b557a6c 100644 --- a/lib/office.py +++ b/lib/office.py | |||
| @@ -179,8 +179,9 @@ class PdfStripper(parser.GenericParser): | |||
| 179 | return True | 179 | return True |
| 180 | except: | 180 | except: |
| 181 | print('Unable to remove all metadata from %s, please install\ | 181 | print('Unable to remove all metadata from %s, please install\ |
| 182 | pdfrw' % self.output) | 182 | pdfrw' % self.output) |
| 183 | return False | 183 | return False |
| 184 | return True | ||
| 184 | 185 | ||
| 185 | def get_meta(self): | 186 | def get_meta(self): |
| 186 | ''' | 187 | ''' |
