summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
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,