summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-01 00:29:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-01 00:29:26 +0200
commit021d063776f1b71b37bca190d965ce478bdafd69 (patch)
tree55a5d2c6aa2c73ddca436270149d69cd746b5310 /module
parentmerged (diff)
downloadpyload-021d063776f1b71b37bca190d965ce478bdafd69.tar.xz
working event approach for socket transmission
Diffstat (limited to 'module')
-rw-r--r--module/remote/ClientHandler.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/module/remote/ClientHandler.py b/module/remote/ClientHandler.py
index 3fcee3f79..cc06bd21a 100644
--- a/module/remote/ClientHandler.py
+++ b/module/remote/ClientHandler.py
@@ -7,7 +7,6 @@ this module handels the incoming requests
"""
import hashlib
-import wx
from Crypto.Cipher import Blowfish
from RequestHandler import RequestHandler
@@ -20,6 +19,10 @@ class ClientHandler(RequestHandler):
def proceed(self, data):
obj = self.decrypt(data)
- if obj.function == "get_downloads":
- self.client.show_links(obj.response)
- return self.encrypt(obj)
+
+ self.client.data_arrived(obj)
+
+ #if obj.function == "get_downloads":
+ # self.client.show_links(obj.response)
+
+ return self.encrypt(obj)