Add some code for Windows to help SSL work.

This commit is contained in:
Anna Rose 2016-01-21 15:13:33 -05:00
parent 588997e312
commit 7078b7dc38

View File

@ -1,6 +1,10 @@
from edmc import companion as c
import platform
import easygui 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() companion_session = c.Session()