diff options
Diffstat (limited to 'pyload/remote/wsbackend/AsyncHandler.py')
-rw-r--r-- | pyload/remote/wsbackend/AsyncHandler.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pyload/remote/wsbackend/AsyncHandler.py b/pyload/remote/wsbackend/AsyncHandler.py index c7a26cd6b..bf931d70d 100644 --- a/pyload/remote/wsbackend/AsyncHandler.py +++ b/pyload/remote/wsbackend/AsyncHandler.py @@ -171,12 +171,8 @@ class AsyncHandler(AbstractHandler): pass if req.t <= time(): - # TODO: server status is not enough - # modify core api to include progress? think of other needed information to show - # eta is quite wrong currently - # notifications - self.send(req, self.api.getServerStatus()) - self.send(req, self.api.getProgressInfo()) + self.send(req, req.api.getStatusInfo()) + self.send(req, req.api.getProgressInfo()) # update time for next update req.t = time() + req.interval
\ No newline at end of file |