Fixed license file and added a try catch statement to the ssl create context.

This commit is contained in:
Joey Payne 2015-10-28 11:37:58 -06:00
commit f8eab59502
2 changed files with 7 additions and 4 deletions

View file

@ -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