fix #53
This commit is contained in:
parent
2d09d13d80
commit
f6470944ca
@ -23,6 +23,7 @@ from anki.hooks import addHook
|
|||||||
from anki.utils import isMac
|
from anki.utils import isMac
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
|
if isMac:
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
############## other config here ##################
|
############## other config here ##################
|
||||||
|
|||||||
@ -23,6 +23,7 @@ from anki.hooks import addHook
|
|||||||
from anki.utils import isMac
|
from anki.utils import isMac
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
|
if isMac:
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
############## other config here ##################
|
############## other config here ##################
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user