Commit f27cef9a authored by Federico Sismondi's avatar Federico Sismondi

fix: import fcntl only under non win32 systems

parent 21a8fcd9
......@@ -19,7 +19,6 @@ import struct
import threading
import time
import traceback
from fcntl import ioctl
import sys
if sys.platform.startswith('win32'):
......@@ -27,6 +26,8 @@ if sys.platform.startswith('win32'):
import win32file
import win32event
import pywintypes
else: # linux or macos
from fcntl import ioctl
DEFAULT_IPV6_PREFIX = 'bbbb'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment