summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-12 22:44:41 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-12 22:44:41 +0200
commit72abfb455275546e110e4daf811480dd47ffceea (patch)
tree4f6955a97af4600c31dffc5941a57640d81da0a3 /module/plugins/hooks
parentencoding fix try (diff)
downloadpyload-72abfb455275546e110e4daf811480dd47ffceea.tar.xz
improvements
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/UnRar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index 82c99a575..30cda62af 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -30,7 +30,7 @@ class UnRar(Hook):
__name__ = "UnRar"
__version__ = "0.1"
__description__ = """unrar"""
- __config__ = [ ("activated", "bool", "Activated", True),
+ __config__ = [ ("activated", "bool", "Activated", False),
("fullpath", "bool", "extract full path", True),
("overwrite", "bool", "overwrite files", True),
("passwordfile", "str", "unrar passoword file", "unrar_passwords.txt"),
@@ -109,7 +109,7 @@ class UnRar(Hook):
u.crackPassword(passwords=self.passwords, statusFunction=s, overwrite=True, destination=folder)
except WrongPasswordError:
continue
- except CommandError as e:
+ except CommandError , e:
if re.search("Cannot find volume", e.stderr):
continue
try: