summaryrefslogtreecommitdiff
path: root/lib/mat.py
diff options
context:
space:
mode:
authorjvoisin2011-07-26 15:14:48 +0200
committerjvoisin2011-07-26 15:14:48 +0200
commit962e9aec5ffcdaae39e06f277dd47d1943205c37 (patch)
tree85d57c245f010579dc3eb9199fe3ed6e379e96d8 /lib/mat.py
parent7c9edd6514854f707b87e150a1ffa327ebd8dcac (diff)
Bugfixes (especially for pdf), and more pylint conformity
Diffstat (limited to 'lib/mat.py')
-rw-r--r--lib/mat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mat.py b/lib/mat.py
index e4371ce..8d01e05 100644
--- a/lib/mat.py
+++ b/lib/mat.py
@@ -25,7 +25,7 @@ LOGGING_LEVEL = logging.DEBUG
25 25
26logging.basicConfig(level=LOGGING_LEVEL) 26logging.basicConfig(level=LOGGING_LEVEL)
27 27
28strippers = { 28STRIPPERS = {
29 hachoir_parser.image.JpegFile: images.JpegStripper, 29 hachoir_parser.image.JpegFile: images.JpegStripper,
30 hachoir_parser.image.PngFile: images.PngStripper, 30 hachoir_parser.image.PngFile: images.PngStripper,
31 hachoir_parser.audio.MpegAudioFile: audio.MpegAudioStripper, 31 hachoir_parser.audio.MpegAudioFile: audio.MpegAudioStripper,
@@ -83,7 +83,7 @@ def create_class_file(name, backup, add2archive):
83 (which herits from the "file" class), based on the editor 83 (which herits from the "file" class), based on the editor
84 of given file (name) 84 of given file (name)
85 ''' 85 '''
86 stripper_class = strippers[editor.input.__class__] 86 stripper_class = STRIPPERS[editor.input.__class__]
87 except KeyError: 87 except KeyError:
88 #Place for another lib than hachoir 88 #Place for another lib than hachoir
89 logging.info('Don\'t have stripper for format %s' % editor.description) 89 logging.info('Don\'t have stripper for format %s' % editor.description)