summaryrefslogtreecommitdiff
path: root/libmat2/exiftool.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/exiftool.py')
-rw-r--r--libmat2/exiftool.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py
index 2e83f13..024f490 100644
--- a/libmat2/exiftool.py
+++ b/libmat2/exiftool.py
@@ -29,8 +29,7 @@ class ExiftoolParser(abstract.AbstractParser):
29 29
30 def _lightweight_cleanup(self) -> bool: 30 def _lightweight_cleanup(self) -> bool:
31 if os.path.exists(self.output_filename): 31 if os.path.exists(self.output_filename):
32 try: 32 try: # exiftool can't force output to existing files
33 # exiftool can't force output to existing files
34 os.remove(self.output_filename) 33 os.remove(self.output_filename)
35 except OSError as e: # pragma: no cover 34 except OSError as e: # pragma: no cover
36 logging.error("The output file %s is already existing and \ 35 logging.error("The output file %s is already existing and \