summaryrefslogtreecommitdiff
path: root/lib/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/images.py')
-rw-r--r--lib/images.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/images.py b/lib/images.py
index 4441b70..bab0bfb 100644
--- a/lib/images.py
+++ b/lib/images.py
@@ -1,8 +1,5 @@
1import parser 1import parser
2 2
3class BmpStripper(parser.Generic_parser):
4 def _should_remove(self, field):
5 return False
6 3
7class JpegStripper(parser.Generic_parser): 4class JpegStripper(parser.Generic_parser):
8 def _should_remove(self, field): 5 def _should_remove(self, field):
@@ -13,6 +10,7 @@ class JpegStripper(parser.Generic_parser):
13 else: 10 else:
14 return False 11 return False
15 12
13
16class PngStripper(parser.Generic_parser): 14class PngStripper(parser.Generic_parser):
17 def _should_remove(self, field): 15 def _should_remove(self, field):
18 if field.name.startswith("text["): 16 if field.name.startswith("text["):