summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 17:01:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 17:01:59 +0200
commit56754bcdbd15db520318a88ac779e1eb027853a8 (patch)
tree2d1a09b3fbe36eb6575e2ea757014b5c3d2dcb46 /pyLoadCore.py
parentupload to fix (diff)
downloadpyload-56754bcdbd15db520318a88ac779e1eb027853a8.tar.xz
added several checks to improve stability
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index e8b024f4c..1bec0f7cc 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -550,7 +550,7 @@ class ServerMethods():
downloads = []
for pyfile in [x.active for x in self.core.threadManager.threads + self.core.threadManager.localThreads if
x.active and x.active != "quit"]:
- if not isinstance(pyfile, PyFile):
+ if not isinstance(pyfile, PyFile) or not hasattr(pyfile, "plugin"):
continue
download = {'id': pyfile.id,
'name': pyfile.name,