summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-13 13:53:55 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-13 13:53:55 +0200
commit1ee1292deed62c4acc7e648735bf9c90c4a1410c (patch)
tree333ff8d74c94ef06a0c73c34ae0816c7f3217cea /pyLoadCore.py
parentunrar fix, removed recaptcha debug (diff)
downloadpyload-1ee1292deed62c4acc7e648735bf9c90c4a1410c.tar.xz
import fix
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