Tweaked the networking code to try and make pygame work - still not working...

This commit is contained in:
Anna Rose Wiggins 2012-04-16 00:31:42 -04:00
parent 7abef7b37d
commit e7d29696f1
3 changed files with 9 additions and 8 deletions

View file

@ -34,6 +34,7 @@ class GTPSocket:
while msg is None:
try:
select.select([self.socket], [], [])
msg = self.socket.recv(4096)
if msg[0] == '?':
print "Error: GTP response: " + msg