From f0e8e2d894ae4fcc6e0f87741dfb8511f52fc0c1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 17 Nov 2011 19:07:18 +0100 Subject: Exiftool is now quiet too --- mat/exiftool.py | 4 ++-- mat/office.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mat/exiftool.py b/mat/exiftool.py index c6c1ada..758a094 100644 --- a/mat/exiftool.py +++ b/mat/exiftool.py @@ -33,14 +33,14 @@ class ExiftoolStripper(parser.GenericParser): try: if self.backup: # Note: '-All=' must be followed by a known exiftool option. - process = subprocess.Popen(['exiftool', '-All=', + process = subprocess.Popen(['exiftool', '-m', '-All=', '-out', self.output, self.filename], stdout=open('/dev/null')) process.wait() else: # Note: '-All=' must be followed by a known exiftool option. process = subprocess.Popen( - [ 'exiftool', '-All=', '-overwrite_original', self.filename ], + [ 'exiftool', '-m', '-All=', '-overwrite_original', self.filename ], stdout=open('/dev/null')) process.wait() return True diff --git a/mat/office.py b/mat/office.py index 41411c7..d1e781e 100644 --- a/mat/office.py +++ b/mat/office.py @@ -188,7 +188,7 @@ class PdfStripper(parser.GenericParser): import exiftool # Note: '-All=' must be followed by a known exiftool option. if self.backup: - process = subprocess.Popen(['exiftool', '-All=', + process = subprocess.Popen(['exiftool', '-m', '-All=', '-out', self.output, self.filename], stdout=open('/dev/null')) process.wait() else: -- cgit v1.3