From 021d063776f1b71b37bca190d965ce478bdafd69 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 1 Jun 2009 00:29:26 +0200 Subject: working event approach for socket transmission --- module/remote/ClientHandler.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'module') 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) -- cgit v1.2.3