summaryrefslogtreecommitdiff
path: root/MAT/exiftool.py
diff options
context:
space:
mode:
authorjvoisin2013-10-05 20:46:24 +0100
committerjvoisin2013-10-05 20:46:24 +0100
commitf97b4d88f0254588d11b8760fc6714828af0ef28 (patch)
tree3c53c65a86ed931041c18a9f54d0c15d56790d55 /MAT/exiftool.py
parent0f2976458b4baeb418bf9242cbe7dfb96b071440 (diff)
mat is now able to check non-writables files
This is an implementaion of this suggestion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721572
Diffstat (limited to 'MAT/exiftool.py')
-rw-r--r--MAT/exiftool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAT/exiftool.py b/MAT/exiftool.py
index 16e383f..9803aa9 100644
--- a/MAT/exiftool.py
+++ b/MAT/exiftool.py
@@ -12,8 +12,8 @@ class ExiftoolStripper(parser.GenericParser):
12 A generic stripper class using exiftool as backend 12 A generic stripper class using exiftool as backend
13 ''' 13 '''
14 14
15 def __init__(self, filename, parser, mime, backup, **kwargs): 15 def __init__(self, filename, parser, mime, backup, is_writable, **kwargs):
16 super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, **kwargs) 16 super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs)
17 self.allowed = set(['ExifTool Version Number', 'File Name', 'Directory', 17 self.allowed = set(['ExifTool Version Number', 'File Name', 'Directory',
18 'File Size', 'File Modification Date/Time', 'File Access Date/Time', 'File Permissions', 18 'File Size', 'File Modification Date/Time', 'File Access Date/Time', 'File Permissions',
19 'File Type', 'MIME Type', 'Image Width', 'Image Height', 19 'File Type', 'MIME Type', 'Image Width', 'Image Height',