Fix hexdigest properly

Chat once again works in terminal
Moved stuff around to appropriate locations
This commit is contained in:
Ammar Askar committed 2012-10-09 20:16:37 +05:00
1 parent 9b6a195b6a
commit 2bb374c153
3 files changed
+50 -74

No files matched your search

+5 -1
View File
@@ -123,7 +123,11 @@ if __name__ == "__main__":
connection.start()
while True:
try:
raw_input()
chat_input = raw_input()
if (connection.isConnected):
PacketSenderManager.send03(connection.grabSocket(), chat_input)
else:
pass
except KeyboardInterrupt, e:
connection.disconnect()
sys.exit(1)