summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-30 17:33:14 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-30 17:33:14 +0100
commit7c28259f92c2b3c608583ff128a5ae4134d4c48f (patch)
tree1cc8d9e95c38f51b0efaef927e0036b677355068 /module/file_list.py
parentsignal slot stuff (diff)
downloadpyload-7c28259f92c2b3c608583ff128a5ae4134d4c48f.tar.xz
moved captcha stuff, extended serienjunkies, some other stuff
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/file_list.py b/module/file_list.py
index cc3b63006..8af66d5ed 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -129,7 +129,11 @@ class File_List(object):
files = []
for pypack in self.data["queue"] + self.data["packages"]:
for pyfile in pypack.files:
- if pyfile.plugin.props['type'] == "container" and not pyfile.active:
+ if pyfile.status.type == None and pyfile.plugin.props['type'] == "container" and not pyfile.active:
+ files.append(pyfile)
+ for pypack in self.data["packages"]:
+ for pyfile in pypack.files:
+ if pyfile.status.type == None and pyfile.plugin.props['type'] == "container" and pyfile.plugin.decryptNow and not pyfile.active:
files.append(pyfile)
for pypack in self.data["queue"]:
for pyfile in pypack.files:
@@ -424,7 +428,7 @@ class PyLoadFile():
for dir in ["hoster", "decrypter", "container"]:
try:
self.modul = __import__("%s.%s" % (dir, pluginName), globals(), locals(), [pluginName], -1)
- except:
+ except Exception, e:
pass
pluginClass = getattr(self.modul, pluginName)
else: