1 parent 7319f33 commit 4c67559Copy full SHA for 4c67559
1 file changed
github2/request.py
@@ -56,7 +56,7 @@
56
elif path.exists(getenv('CURL_CA_BUNDLE', '')):
57
CA_CERTS = getenv('CURL_CA_BUNDLE')
58
CURL_CERTS = True
59
-else:
+if not SYSTEM_CERTS and not CURL_CERTS:
60
CA_CERTS = path.join(path.dirname(path.abspath(__file__)),
61
"DigiCert_High_Assurance_EV_Root_CA.crt")
62
0 commit comments