summaryrefslogtreecommitdiff
path: root/mat/exiftool.py
diff options
context:
space:
mode:
Diffstat (limited to 'mat/exiftool.py')
-rw-r--r--mat/exiftool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mat/exiftool.py b/mat/exiftool.py
index c6c1ada..758a094 100644
--- a/mat/exiftool.py
+++ b/mat/exiftool.py
@@ -33,14 +33,14 @@ class ExiftoolStripper(parser.GenericParser):
33 try: 33 try:
34 if self.backup: 34 if self.backup:
35 # Note: '-All=' must be followed by a known exiftool option. 35 # Note: '-All=' must be followed by a known exiftool option.
36 process = subprocess.Popen(['exiftool', '-All=', 36 process = subprocess.Popen(['exiftool', '-m', '-All=',
37 '-out', self.output, self.filename], 37 '-out', self.output, self.filename],
38 stdout=open('/dev/null')) 38 stdout=open('/dev/null'))
39 process.wait() 39 process.wait()
40 else: 40 else:
41 # Note: '-All=' must be followed by a known exiftool option. 41 # Note: '-All=' must be followed by a known exiftool option.
42 process = subprocess.Popen( 42 process = subprocess.Popen(
43 [ 'exiftool', '-All=', '-overwrite_original', self.filename ], 43 [ 'exiftool', '-m', '-All=', '-overwrite_original', self.filename ],
44 stdout=open('/dev/null')) 44 stdout=open('/dev/null'))
45 process.wait() 45 process.wait()
46 return True 46 return True