diff options
Diffstat (limited to 'mat/exiftool.py')
| -rw-r--r-- | mat/exiftool.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mat/exiftool.py b/mat/exiftool.py index f1bc350..18d603e 100644 --- a/mat/exiftool.py +++ b/mat/exiftool.py | |||
| @@ -31,13 +31,13 @@ class ExiftoolStripper(parser.GenericParser): | |||
| 31 | Remove all metadata with help of exiftool | 31 | Remove all metadata with help of exiftool |
| 32 | ''' | 32 | ''' |
| 33 | if self.backup: | 33 | if self.backup: |
| 34 | process = subprocess.Popen(['exiftool', '-all=', | 34 | process = subprocess.Popen(['exiftool', '-All', |
| 35 | '-o %s' % self.output, self.filename], | 35 | '-out', self.output, self.filename], |
| 36 | stdout=open('/dev/null')) | 36 | stdout=open('/dev/null')) |
| 37 | process.wait() | 37 | process.wait() |
| 38 | else: | 38 | else: |
| 39 | process = subprocess.Popen(['exiftool', '-overwrite_original', | 39 | process = subprocess.Popen(['exiftool', '-overwrite_original', |
| 40 | '-all=', self.filename], stdout=open('/dev/null')) | 40 | '-All', self.filename], stdout=open('/dev/null')) |
| 41 | process.wait() | 41 | process.wait() |
| 42 | 42 | ||
| 43 | def is_clean(self): | 43 | def is_clean(self): |
