Tweaked the networking code to try and make pygame work - still not working...
This commit is contained in:
parent
7abef7b37d
commit
e7d29696f1
3 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue