data = sock.recv(RECV_BUFFER) username = str(sock.getpeername()) username = usernames[username] if command == "/quit": print data sock.send("bye") sock.close() CONNECTION_LIST.remove(sock)
even if the received data is '/quit' the if condition not excuting...please help. -- https://mail.python.org/mailman/listinfo/python-list