diff options
Diffstat (limited to 'pyload/threads/ThreadManager.py')
-rw-r--r-- | pyload/threads/ThreadManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/threads/ThreadManager.py b/pyload/threads/ThreadManager.py index 086e8ba51..a2e0aa400 100644 --- a/pyload/threads/ThreadManager.py +++ b/pyload/threads/ThreadManager.py @@ -106,7 +106,7 @@ class ThreadManager: def getInfoResult(self, rid): """returns result and clears it""" self.timestamp = time() + 5 * 60 - + # TODO: restrict user to his own results if rid in self.infoResults: data = self.infoResults[rid] self.infoResults[rid] = {} @@ -116,6 +116,7 @@ class ThreadManager: @lock def setInfoResults(self, rid, result): + self.core.evm.dispatchEvent("onlineResult:updated", rid, result) self.infoResults[rid].update(result) def getActiveDownloads(self, user=None): |