diff options
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 7aa38b9b1..dbc9dc1cd 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -59,6 +59,7 @@ from module.network.Request import Request import module.remote.SecureXMLRPCServer as Server
from module.thread_list import Thread_List
from module.web.ServerThread import WebServer
+from module.PullEvents import PullManager
class Core(object):
""" pyLoad Core """
@@ -138,7 +139,8 @@ class Core(object): self.lastGuiConnected = 0
self.server_methods = ServerMethods(self)
- self.file_list = File_List(self)
+ self.file_list = File_List(self) + self.pullManager = PullManager(self)
self.thread_list = Thread_List(self)
self.captchaManager = CaptchaManager(self)
@@ -571,7 +573,10 @@ class ServerMethods(): return True
else:
return False
-
+ + def get_events(self, uuid): + return self.core.pullManager.getEvents(uuid) +
#def move_urls_up(self, ids):
# for id in ids:
# self.core.file_list.move(id)
|