From ef0de22c54e813258a3c4a57444cc513b4ca3fde Mon Sep 17 00:00:00 2001 From: sidya82 Date: Thu, 16 Apr 2015 11:47:54 +0200 Subject: [PATCH] fix ask fil --- server/Server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/Server.py b/server/Server.py index b63120d..bd3059d 100644 --- a/server/Server.py +++ b/server/Server.py @@ -108,7 +108,8 @@ def main(): sys.exit(0) -## Handle a connection from a client. +## +# Handle a connection from a client. # Wait for request from the client # @param connection the socket descriptor of the connection # @param client_adress ("ip", port) of the connection @@ -183,7 +184,7 @@ def handle_request(connection, data): private_message(connection, array_data[1], " ".join(array_data[2:])) return if array_data[0] == "/pmfile": - ask_file(connection, array_data[1], array_data[2]) + ask_file(connection, array_data[1], " ".join(array_data[2:])) return if array_data[0] == "/acceptfile": accept_file(connection, array_data[1], " ".join(array_data[3:]), array_data[2])