From 962e9aec5ffcdaae39e06f277dd47d1943205c37 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 26 Jul 2011 15:14:48 +0200 Subject: Bugfixes (especially for pdf), and more pylint conformity --- lib/mat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mat.py') 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 logging.basicConfig(level=LOGGING_LEVEL) -strippers = { +STRIPPERS = { hachoir_parser.image.JpegFile: images.JpegStripper, hachoir_parser.image.PngFile: images.PngStripper, hachoir_parser.audio.MpegAudioFile: audio.MpegAudioStripper, @@ -83,7 +83,7 @@ def create_class_file(name, backup, add2archive): (which herits from the "file" class), based on the editor of given file (name) ''' - stripper_class = strippers[editor.input.__class__] + stripper_class = STRIPPERS[editor.input.__class__] except KeyError: #Place for another lib than hachoir logging.info('Don\'t have stripper for format %s' % editor.description) -- cgit v1.3