ENOTSOCK fix

This commit is contained in:
Peter Šurda 2017-05-29 13:39:26 +02:00
parent 97c44b97f4
commit bdaa939e2c
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -57,7 +57,7 @@ import warnings
import os import os
from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \ from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \
ENOTCONN, ESHUTDOWN, EISCONN, EBADF, ECONNABORTED, EPIPE, EAGAIN, \ ENOTCONN, ESHUTDOWN, EISCONN, EBADF, ECONNABORTED, EPIPE, EAGAIN, \
ECONNREFUSED, EHOSTUNREACH, \ ECONNREFUSED, EHOSTUNREACH, ENOTSOCK, \
errorcode errorcode
try: try:
from errno import WSAEWOULDBLOCK from errno import WSAEWOULDBLOCK