catch pyssl import errors
This commit is contained in:
parent
014e9aee4b
commit
e5f582312d
1 changed files with 4 additions and 1 deletions
|
|
@ -49,7 +49,10 @@ import shutil
|
|||
import signal
|
||||
import socket
|
||||
import ssl.SSLCommon
|
||||
from ssl import ssl as pyssl
|
||||
try:
|
||||
from ssl import ssl as pyssl
|
||||
except ImportError:
|
||||
pass
|
||||
import struct
|
||||
import tempfile
|
||||
import time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue