diff --git a/wii-pair/daemon.py b/wii-pair/daemon.py index f53481b..990e275 100755 --- a/wii-pair/daemon.py +++ b/wii-pair/daemon.py @@ -184,7 +184,7 @@ try: for sock in rlist: try: m = sock.recv(1) - except ConnectionResetError: + except Exception: conns.remove(sock) continue @@ -203,7 +203,7 @@ try: try: sock.send(r) - except ConnectionResetError: + except Exception: conns.remove(sock) continue