diff options
author | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-05 18:41:59 +0100 |
---|---|---|
committer | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-05 18:41:59 +0100 |
commit | 09b692852ae556cb3f40ffb3f607106faecd5758 (patch) | |
tree | 8403ef886e430a7ed19ff1017dfc3fee1d55ae6a | |
parent | set interval smaller (diff) | |
download | pyload-09b692852ae556cb3f40ffb3f607106faecd5758.tar.xz |
[ExtractArchive] Error Handling when broken ExtractArchive was used
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index b52fa026b..4756d359c 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -63,7 +63,10 @@ class ArchiveQueue(object): def get(self): - return [int(pid) for pid in self.plugin.getStorage("ExtractArchive:%s" % self.storage, "").decode('base64').split()] + try: + return [int(pid) for pid in self.plugin.getStorage("ExtractArchive:%s" % self.storage, "").decode('base64').split()] + except Exception: + return [] def set(self, value): |