Browse Source

Catch if nothing has been read from the socket

master
klonfish 7 years ago committed by klonfish
parent
commit
64a53b69a2
  1. 4
      wii-pair/daemon.py

4
wii-pair/daemon.py

@ -189,6 +189,10 @@ try: @@ -189,6 +189,10 @@ try:
conns.remove(sock)
continue
if len(m) == 0:
conns.remove(sock)
continue
r = b''
for w in wiis:
if m[0] == ord('w'):

Loading…
Cancel
Save