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/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MAT/misc.py') diff --git a/MAT/misc.py b/MAT/misc.py index 4c104a8..e016d18 100644 --- a/MAT/misc.py +++ b/MAT/misc.py @@ -12,8 +12,8 @@ class TorrentStripper(parser.GenericParser): Represent a torrent file with the help of the bencode lib from Petru Paler ''' - def __init__(self, filename, parser, mime, backup, **kwargs): - super(TorrentStripper, self).__init__(filename, parser, mime, backup) + def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): + super(TorrentStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) self.fields = ['comment', 'creation date', 'created by'] def is_clean(self): -- cgit v1.3