summaryrefslogtreecommitdiff
path: root/mat.py
diff options
context:
space:
mode:
Diffstat (limited to 'mat.py')
-rwxr-xr-xmat.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/mat.py b/mat.py
index a80f45a..cec4129 100755
--- a/mat.py
+++ b/mat.py
@@ -98,10 +98,17 @@ class file():
98 98
99class JpegStripper(file): 99class JpegStripper(file):
100 def _should_remove(self, key): 100 def _should_remove(self, key):
101 return False 101 if key in ('comment', 'author'):
102 return True
103 else:
104 return False
102 105
103class PngStripper(file): 106class PngStripper(file):
104 def _should_remove(self, key): 107 def _should_remove(self, key):
108 if key in ('comment', 'author'):
109 return True
110 else:
111 return False
105 return False 112 return False
106 113
107strippers = { 114strippers = {