diff options
-rwxr-xr-x | tupkg/client/tupkg | 2 | ||||
-rwxr-xr-x | tupkg/server/tupkgs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg index 4ce1fa0..a1d26d5 100755 --- a/tupkg/client/tupkg +++ b/tupkg/client/tupkg @@ -62,7 +62,7 @@ class ClientSocket: def sendMsg(self, msg): if type(msg) == dict: - msg = urllib.unquote(urllib.urlencode(msg,1)) + msg = urllib.urlencode(msg,1) length = struct.pack("H", socket.htons(len(msg))) self.socket.sendall(length) self.socket.sendall(msg) diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs index 3b2c510..a561815 100755 --- a/tupkg/server/tupkgs +++ b/tupkg/server/tupkgs @@ -92,7 +92,7 @@ class ClientSocket(threading.Thread): def sendMsg(self, msg): if type(msg) == dict: - msg = urllib.unquote(urllib.urlencode(msg,1)) + msg = urllib.urlencode(msg,1) length = struct.pack("H", socket.htons(len(msg))) self.socket.sendall(length) self.socket.sendall(msg) |