diff options
| author | jvoisin | 2015-11-25 18:30:37 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-26 15:47:31 +0100 |
| commit | 83831def42e3311518f30ae9414f8f518ee0102e (patch) | |
| tree | 22e9ecd9afd54740d72fcf305f87a5de590f96e2 /libmat/images.py | |
| parent | 6e0888eaeb22bdb29239ba7afd493e46255296aa (diff) | |
Simplify a bit the hachoir-powered image parser
Diffstat (limited to '')
| -rw-r--r-- | libmat/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
| 47 | 'end']) # end of the image | 47 | 'end']) # end of the image |
| 48 | if field.name in field_list: | 48 | if field.name in field_list: |
| 49 | return False | 49 | return False |
| 50 | if field.name.startswith('data['): # data | 50 | elif field.name.startswith('data['): # data |
| 51 | return False | 51 | return False |
| 52 | return True | 52 | return True |
