From cca2a57c6922ac96b2a81df98674bc09e1476574 Mon Sep 17 00:00:00 2001 From: David Amrhein Date: Sat, 30 Jul 2016 22:52:49 -0400 Subject: [PATCH] Set cacert environ path for windows distribution --- lbrynet/lbrynet_daemon/LBRYDaemonControl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemonControl.py b/lbrynet/lbrynet_daemon/LBRYDaemonControl.py index 1bfa62eab..a81dcb78d 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemonControl.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemonControl.py @@ -32,6 +32,9 @@ log = logging.getLogger(__name__) REMOTE_SERVER = "www.google.com" +if getattr(sys, 'frozen', False): + os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(os.getcwd(), "cacert.pem") + def test_internet_connection(): try: