diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-16 14:57:15 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-16 14:57:15 +0200 |
commit | 610d7f72798bb76336d540f7b1522db693d79240 (patch) | |
tree | 62d0f5dda5487b2f503c5537bfb0aca942f908b5 /module | |
parent | new mootools files (diff) | |
download | pyload-610d7f72798bb76336d540f7b1522db693d79240.tar.xz |
unrar fix
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hooks/UnRar.py | 2 |
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(): |