diff options
Diffstat (limited to 'MAT/exiftool.py')
| -rw-r--r-- | MAT/exiftool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MAT/exiftool.py b/MAT/exiftool.py index 1cae352..d2d177c 100644 --- a/MAT/exiftool.py +++ b/MAT/exiftool.py | |||
| @@ -32,7 +32,7 @@ class ExiftoolStripper(parser.GenericParser): | |||
| 32 | ''' | 32 | ''' |
| 33 | try: | 33 | try: |
| 34 | if self.backup: | 34 | if self.backup: |
| 35 | shutil.copy2(self.filename, self.filename + '.bak') | 35 | self.create_backup_copy() |
| 36 | # Note: '-All=' must be followed by a known exiftool option. | 36 | # Note: '-All=' must be followed by a known exiftool option. |
| 37 | process = subprocess.Popen( ['exiftool', '-m', '-all=', | 37 | process = subprocess.Popen( ['exiftool', '-m', '-all=', |
| 38 | '-adobe=', '-overwrite_original', self.filename ], | 38 | '-adobe=', '-overwrite_original', self.filename ], |
