diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 17:01:59 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 17:01:59 +0200 |
commit | 56754bcdbd15db520318a88ac779e1eb027853a8 (patch) | |
tree | 2d1a09b3fbe36eb6575e2ea757014b5c3d2dcb46 /pyLoadCore.py | |
parent | upload to fix (diff) | |
download | pyload-56754bcdbd15db520318a88ac779e1eb027853a8.tar.xz |
added several checks to improve stability
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 2 |
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, |