fix: print_log -> print_error
This commit is contained in:
parent
6069939003
commit
827e29c1dc
|
@ -338,7 +338,7 @@ class Interface(threading.Thread):
|
||||||
timeout = True
|
timeout = True
|
||||||
except socket.error, err:
|
except socket.error, err:
|
||||||
if err.errno in [11, 10035]:
|
if err.errno in [11, 10035]:
|
||||||
print_log("socket errno", err.errno)
|
print_error("socket errno", err.errno)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue