summaryrefslogtreecommitdiff
path: root/lib/mat.py
diff options
context:
space:
mode:
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)