Typo in previous commit

This commit is contained in:
Peter Šurda 2017-08-06 20:40:35 +02:00
parent 5895dc2f1f
commit 38872159fb
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -208,7 +208,7 @@ def select_poller(timeout=0.0, map=None):
except KeyboardInterrupt: except KeyboardInterrupt:
return return
except socket.error as err: except socket.error as err:
if err.args[0] in (EBADF EINTR): if err.args[0] in (EBADF, EINTR):
return return
except Exception as err: except Exception as err:
if err.args[0] in (WSAENOTSOCK, ): if err.args[0] in (WSAENOTSOCK, ):