diff options
| author | jvoisin | 2011-06-21 17:27:11 +0200 |
|---|---|---|
| committer | jvoisin | 2011-06-21 17:27:11 +0200 |
| commit | 9e0f6cf0ea0a992450c12aec73b459403de5f3c2 (patch) | |
| tree | abce28e477f429f6bc174409a23955e0e1ca65a1 /lib/images.py | |
| parent | 5aa90822631b80502afaca18c222432d4f8c3cc1 (diff) | |
Pdf metadata support
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 |
