stuck at this from so much time,need help....please ..

Bhanu Karthik bhanukarthik2002 at gmail.com
Sat Nov 23 17:15:07 EST 2013


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.



More information about the Python-list mailing list