mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-11 13:42:29 -04:00
11 lines
261 B
Python
11 lines
261 B
Python
from requests import certs, utils, adapters
|
|
import paths
|
|
|
|
def patched_where():
|
|
return paths.app_path(u"cacert.pem")
|
|
|
|
def fix():
|
|
certs.where=patched_where
|
|
utils.DEFAULT_CA_BUNDLE_PATH=patched_where()
|
|
adapters.DEFAULT_CA_BUNDLE_PATH=patched_where()
|