diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-01 00:29:26 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-01 00:29:26 +0200 |
commit | 021d063776f1b71b37bca190d965ce478bdafd69 (patch) | |
tree | 55a5d2c6aa2c73ddca436270149d69cd746b5310 /module | |
parent | merged (diff) | |
download | pyload-021d063776f1b71b37bca190d965ce478bdafd69.tar.xz |
working event approach for socket transmission
Diffstat (limited to 'module')
-rw-r--r-- | module/remote/ClientHandler.py | 11 |
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) |