Indicates cacert.pem file when the application is frozen

This commit is contained in:
2016-02-21 08:16:36 -06:00
parent df006b9945
commit aba5c4cc59
4 changed files with 4984 additions and 0 deletions

6
src/fixes/__init__.py Normal file
View File

@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
import fix_requests
def setup():
fix_requests.fix()

View File

@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
import requests
import paths
import os
def fix():
os.environ["REQUESTS_CA_BUNDLE"] = paths.app_path("cacert.pem")