From aec34378a69f4e38c39c703a6baa6d1f09deed5f Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 17 Jul 2013 12:58:20 +0200 Subject: Minor refactoring --- MAT/exiftool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MAT/exiftool.py') 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): ''' try: if self.backup: - shutil.copy2(self.filename, self.filename + '.bak') + self.create_backup_copy() # Note: '-All=' must be followed by a known exiftool option. process = subprocess.Popen( ['exiftool', '-m', '-all=', '-adobe=', '-overwrite_original', self.filename ], -- cgit v1.3