diff options
| author | jvoisin | 2013-07-17 12:58:20 +0200 |
|---|---|---|
| committer | jvoisin | 2013-07-17 12:58:20 +0200 |
| commit | aec34378a69f4e38c39c703a6baa6d1f09deed5f (patch) | |
| tree | bcf35b2a427e6ffc3d78e6420fd770adb1bec608 /MAT/exiftool.py | |
| parent | 82421f5519ea0e409c5249026ca81fa9bd2b48fd (diff) | |
Minor refactoring
Diffstat (limited to '')
| -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 ], |
