From 1ee1292deed62c4acc7e648735bf9c90c4a1410c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 13 Aug 2010 13:53:55 +0200 Subject: import fix --- pyLoadCore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyLoadCore.py') 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 -- cgit v1.2.3