Fixed license file and added a try catch statement to the ssl create context.
This commit is contained in:
parent
3b330e1301
commit
f8eab59502
2 changed files with 7 additions and 4 deletions
|
|
@ -4,7 +4,10 @@ __version__ = "v0.2.7b"
|
|||
|
||||
import ssl
|
||||
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
try:
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
from utils import zip_files, join_files, log, get_temp_dir
|
||||
from pycns import save_icns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue