From 610d7f72798bb76336d540f7b1522db693d79240 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 16 Sep 2010 14:57:15 +0200 Subject: unrar fix --- module/plugins/hooks/UnRar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins') 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(): -- cgit v1.2.3