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 f3d6de7e0..75b622ce8 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -457,7 +457,7 @@ class ServerMethods():
""" dict with current server status """
status = {}
status['pause'] = self.core.threadManager.pause
- status['activ'] = len([x.active for x in self.core.threadManager.threads if x.active])
+ status['activ'] = len(self.core.threadManager.processingIds())
status['queue'] = self.core.files.getFileCount()
status['total'] = self.core.files.getFileCount()
status['speed'] = 0