summaryrefslogtreecommitdiff
path: root/libmat/office.py
diff options
context:
space:
mode:
authorjvoisin2015-12-02 17:07:19 +0100
committerjvoisin2015-12-02 17:22:45 +0100
commit80ece3001895ea13d50915a5215fd47e313bab4c (patch)
treec5ede43867c5d7fe2af4178b34b0e6dc219f6aac /libmat/office.py
parent3cf80e8b5d6faf410e9ad3aad77f23cf6418a587 (diff)
Remove hachoir from MAT.
This (huge) commit removes completely hachoir from MAT. Audio files are now processed with mutagen, and images with exiftool, since the main python imaging library (PIL) isn't super-great to deal with metadata (and damaged/non-standard files). Package maintainer should change the dependencies to reflect this.
Diffstat (limited to 'libmat/office.py')
-rw-r--r--libmat/office.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat/office.py b/libmat/office.py
index c585cb6..47cd622 100644
--- a/libmat/office.py
+++ b/libmat/office.py
@@ -110,8 +110,8 @@ class PdfStripper(parser.GenericParser):
110 """ Represent a PDF file 110 """ Represent a PDF file
111 """ 111 """
112 112
113 def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): 113 def __init__(self, filename, mime, backup, is_writable, **kwargs):
114 super(PdfStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) 114 super(PdfStripper, self).__init__(filename, mime, backup, is_writable, **kwargs)
115 self.uri = 'file://' + os.path.abspath(self.filename) 115 self.uri = 'file://' + os.path.abspath(self.filename)
116 self.password = None 116 self.password = None
117 try: 117 try: