This commit is contained in:
St.Huang 2018-09-14 20:36:50 +08:00
parent 2d09d13d80
commit f6470944ca
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,7 @@ from anki.hooks import addHook
from anki.utils import isMac
sys.dont_write_bytecode = True
if isMac:
ssl._create_default_https_context = ssl._create_unverified_context
############## other config here ##################

View File

@ -23,6 +23,7 @@ from anki.hooks import addHook
from anki.utils import isMac
sys.dont_write_bytecode = True
if isMac:
ssl._create_default_https_context = ssl._create_unverified_context
############## other config here ##################