From 7b6a6cb94c8c2abc449351a1238227f9b10b0872 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Jun 2009 12:23:28 +0200 Subject: core able to push data to gui, proxy support: closed #1 --- module/remote/RequestHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/remote/RequestHandler.py') diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py index f7623d27b..2f6f248bd 100644 --- a/module/remote/RequestHandler.py +++ b/module/remote/RequestHandler.py @@ -28,7 +28,7 @@ class RequestHandler: if obj.command == "exec": func = getattr(self.core, obj.function) - obj.response = func(*obj.args) + obj.response = func( * obj.args) else: obj.response = "error happend" @@ -54,7 +54,7 @@ class RequestHandler: p_str = "" for i in range(padding - 1): - p_str += random.choice(string.letters + string.digits) + p_str += random.choice(string.letters + string.digits + string.punctuation) p_str += hex(len(p_str)).replace("0x", "") enc_str += p_str -- cgit v1.2.3