1
0

use certifi directly instead of requests

This commit is contained in:
SomberNight
2018-12-13 23:11:59 +01:00
parent c09ac41b27
commit 78f5afff74
6 changed files with 11 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ def check_imports():
import dns
import pyaes
import ecdsa
import requests
import certifi
import qrcode
import google.protobuf
import jsonrpclib
@@ -58,7 +58,7 @@ def check_imports():
from google.protobuf import descriptor_pb2
from jsonrpclib import SimpleJSONRPCServer
# make sure that certificates are here
assert os.path.exists(requests.utils.DEFAULT_CA_BUNDLE_PATH)
assert os.path.exists(certifi.where())
if not is_android: