summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-02-01 18:54:19 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-02-01 18:54:19 +0100
commit5d04894e73a52e69968cb4a4bfd9a581cd2fb86c (patch)
tree648c782dd85d3905f1162b4914a87262f92487be /pyLoadCore.py
parentclean + strip (diff)
downloadpyload-5d04894e73a52e69968cb4a4bfd9a581cd2fb86c.tar.xz
new update system for remote clients
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py9
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)