SIGPIPE pb is only for unix
This commit is contained in:
parent
e5fb3d70ad
commit
cd59e29778
|
@ -31,7 +31,8 @@ import threading
|
||||||
import select
|
import select
|
||||||
import socket
|
import socket
|
||||||
import signal
|
import signal
|
||||||
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
if os.name != 'nt':
|
||||||
|
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
||||||
|
|
||||||
from calendar import timegm
|
from calendar import timegm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue