correctif code pm

This commit is contained in:
sidya82 2015-04-13 20:22:56 +02:00
parent 4476b27b38
commit e6bf608f8c
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ def accept_file(connection, pseudo, file, port):
connection.sendall("{}".format(ERR_UNKNOWN_ACCEPTED_FILE).encode())
else:
askFT.remove(f)
connection.sendall("{} {}".format(SUCC_PMFILE, usersConnected[c][0][0]).encode())
connection.sendall("{} {}".format(SUCC_ACCEPTED_FILE, usersConnected[c][0][0]).encode())
c.sendall("{} {} {} {} {}".format(CAN_SEND_FILE, pseudo, usersConnected[connection][0][0],
port, file).encode())