Add some code for Windows to help SSL work.
This commit is contained in:
parent
588997e312
commit
7078b7dc38
|
@ -1,6 +1,10 @@
|
|||
from edmc import companion as c
|
||||
import platform
|
||||
import easygui
|
||||
from edmc import companion as c
|
||||
import os
|
||||
import platform
|
||||
|
||||
if platform.system() == 'Windows':
|
||||
os.environ['REQUESTS_CA_BUNDLE'] = "requests/cacert.pem"
|
||||
|
||||
companion_session = c.Session()
|
||||
|
||||
|
|
Reference in New Issue
Block a user