Commit 81bf4193 authored by jvoisin's avatar jvoisin

Silence exiftool's stderr

In the past, this might have been useful, but now,
exiftool works on pretty much every file passed to it by MAT.

Also, if something goes wrong, MAT will know about this thanks to the
return code != 0.
parent 43804de4
......@@ -31,7 +31,7 @@ class ExiftoolStripper(parser.GenericParser):
# Also, '-CommonIFD0' is needed for .tiff files
subprocess.call(['exiftool', '-all=', '-adobe=', '-exif:all=', '-Time:All=', '-m',
'-CommonIFD0=', '-overwrite_original', self.filename],
stdout=open('/dev/null'))
stdout=open('/dev/null'), stderr=open('/dev/null'))
return True
except OSError:
return False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment