Skip to content

Commit c8a2e7f

Browse files
author
Alexey Gadzhiev
committed
Win fix
1 parent 66b6466 commit c8a2e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tarantool/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, host, port,
101101
'''
102102
if os.name == 'nt':
103103
libc = ctypes.windll.LoadLibrary(
104-
ctypes.util.find_library('Ws2_32')
104+
ctypes.util.find_library('Ws2_32'), use_errno=True
105105
)
106106
else:
107107
libc = ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True)

0 commit comments

Comments
 (0)