From f97b4d88f0254588d11b8760fc6714828af0ef28 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 5 Oct 2013 20:46:24 +0100 Subject: 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 --- MAT/exiftool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MAT/exiftool.py') 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): A generic stripper class using exiftool as backend ''' - def __init__(self, filename, parser, mime, backup, **kwargs): - super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, **kwargs) + def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): + super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) self.allowed = set(['ExifTool Version Number', 'File Name', 'Directory', 'File Size', 'File Modification Date/Time', 'File Access Date/Time', 'File Permissions', 'File Type', 'MIME Type', 'Image Width', 'Image Height', -- cgit v1.3