Fixed requests after running some tests

This commit is contained in:
Manuel Cortez 2018-12-30 01:11:15 -06:00
parent 3e0bf34390
commit 9aa61b1e7b

View File

@ -8,5 +8,5 @@ log = logging.getLogger("fixes.fix_requests")
def fix():
log.debug("Applying fix for requests...")
os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(paths.app_path(), "cacert.pem")
os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(paths.app_path(), "cacerts.txt")
log.debug("Changed CA path to %s" % (os.environ["REQUESTS_CA_BUNDLE"],))