summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 14:57:15 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 14:57:15 +0200
commit610d7f72798bb76336d540f7b1522db693d79240 (patch)
tree62d0f5dda5487b2f503c5537bfb0aca942f908b5 /module/plugins
parentnew mootools files (diff)
downloadpyload-610d7f72798bb76336d540f7b1522db693d79240.tar.xz
unrar fix
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/UnRar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index 8875ce95f..8acc853d4 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -87,7 +87,7 @@ class UnRar(Hook):
remove(join(folder, data["name"]))
def packageFinished(self, pack):
- if pack.password.strip() and pack.password.strip() != "None":
+ if pack.password and pack.password.strip() and pack.password.strip() != "None":
self.addPassword(pack.password.splitlines())
files = []
for fid, data in pack.getChildren().iteritems():