Indicates cacert.pem file when the application is frozen
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import fix_requests
|
||||
|
||||
def setup():
|
||||
fix_requests.fix()
|
||||
|
||||
@@ -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")
|
||||
Reference in New Issue
Block a user