forked from LBRYCommunity/lbry-sdk
Fix relative pathing for cacert for win builds
This commit is contained in:
parent
ed2d2c6f86
commit
73dbe1de37
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ log = logging.getLogger(__name__)
|
|||
REMOTE_SERVER = "www.google.com"
|
||||
|
||||
if getattr(sys, 'frozen', False) and os.name == "nt":
|
||||
os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(os.getcwd(), "cacert.pem")
|
||||
os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(os.path.dirname(sys.executable), "cacert.pem")
|
||||
|
||||
|
||||
def test_internet_connection():
|
||||
|
|
Loading…
Add table
Reference in a new issue