From 38872159fb9dee140288504cde1a31b5bbdea85c Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 6 Aug 2017 20:40:35 +0200 Subject: [PATCH] Typo in previous commit --- src/network/asyncore_pollchoose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/asyncore_pollchoose.py b/src/network/asyncore_pollchoose.py index db6c1f4a..91b41e23 100644 --- a/src/network/asyncore_pollchoose.py +++ b/src/network/asyncore_pollchoose.py @@ -208,7 +208,7 @@ def select_poller(timeout=0.0, map=None): except KeyboardInterrupt: return except socket.error as err: - if err.args[0] in (EBADF EINTR): + if err.args[0] in (EBADF, EINTR): return except Exception as err: if err.args[0] in (WSAENOTSOCK, ):