summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-25 16:32:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-25 16:32:17 +0100
commit83a4073616f9821a8ebf1df0e18e332490503eca (patch)
tree5c045ed9923dbc05277b36686544958a2afbead8 /pyLoadCore.py
parentgui fix, better click and load support (diff)
downloadpyload-83a4073616f9821a8ebf1df0e18e332490503eca.tar.xz
webinterface improvments + server crash fix
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 0c144b3a6..0459751cf 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -443,6 +443,9 @@ class ServerMethods():
for pyfile in self.core.thread_list.py_downloading:
status['speed'] += pyfile.status.get_speed()
+ status['download'] = self.core.thread_list.pause and self.is_time_download()
+ status['reconnect'] = self.core.config['reconnect']['activated'] and self.is_time_reconnect()
+
return status
def file_exists(self, path): #@XXX: security?!