summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-13 00:08:40 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-13 00:08:40 +0200
commit3f23a2c814bffea6bb6709928dd2174452644943 (patch)
tree5d71913392f49333a82d199854f25dcfeaa83981 /module/Api.py
parentremoved server_methods, please test everything entirely (diff)
downloadpyload-3f23a2c814bffea6bb6709928dd2174452644943.tar.xz
fixes for last commit
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py
index 5328fb617..1440f485e 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -159,7 +159,7 @@ class Api(Iface):
not self.core.threadManager.pause and self.isTimeDownload(),
self.core.config['reconnect']['activated'] and self.isTimeReconnect())
- for pyfile in [x.active for x in self.core.threadManager.threads if x.active and isinstance(x, PyFile)]:
+ for pyfile in [x.active for x in self.core.threadManager.threads if x.active and isinstance(x.active, PyFile)]:
serverStatus.speed += pyfile.getSpeed() #bytes/s
return serverStatus