diff options
Diffstat (limited to 'lib/images.py')
| -rw-r--r-- | lib/images.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/images.py b/lib/images.py index 21229c2..76696fd 100644 --- a/lib/images.py +++ b/lib/images.py | |||
| @@ -11,7 +11,9 @@ class JpegStripper(parser.Generic_parser): | |||
| 11 | 11 | ||
| 12 | class PngStripper(parser.Generic_parser): | 12 | class PngStripper(parser.Generic_parser): |
| 13 | def _should_remove(self, field): | 13 | def _should_remove(self, field): |
| 14 | if field.name in ('comment'): | 14 | if field.name.startswith("text["): |
| 15 | return True | ||
| 16 | elif field.name is "time": | ||
| 15 | return True | 17 | return True |
| 16 | else: | 18 | else: |
| 17 | return False | 19 | return False |
