From 83831def42e3311518f30ae9414f8f518ee0102e Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 25 Nov 2015 18:30:37 +0100 Subject: Simplify a bit the hachoir-powered image parser --- libmat/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat') diff --git a/libmat/images.py b/libmat/images.py index 0c4f3e0..813b0fd 100644 --- a/libmat/images.py +++ b/libmat/images.py @@ -47,6 +47,6 @@ class PngStripper(parser.GenericParser): 'end']) # end of the image if field.name in field_list: return False - if field.name.startswith('data['): # data + elif field.name.startswith('data['): # data return False return True -- cgit v1.3