From fb2823f59e62a67c9ec6654d48cc1dbddd7588e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Job=20Evers=E2=80=90Meltzer?= Date: Mon, 13 Feb 2017 21:14:39 -0600 Subject: [PATCH] don't need this anymore --- lbrynet/core/utils.py | 6 ------ lbrynet/lbrynet_daemon/DaemonControl.py | 1 - 2 files changed, 7 deletions(-) diff --git a/lbrynet/core/utils.py b/lbrynet/core/utils.py index 76d542b36..9f508179e 100644 --- a/lbrynet/core/utils.py +++ b/lbrynet/core/utils.py @@ -97,12 +97,6 @@ def check_connection(server="www.lbry.io", port=80): return False -def setup_certs_for_windows(): - if getattr(sys, 'frozen', False) and os.name == "nt": - cert_path = os.path.join(os.path.dirname(sys.executable), "cacert.pem") - os.environ["REQUESTS_CA_BUNDLE"] = cert_path - - def random_string(length=10, chars=string.ascii_lowercase): return ''.join([random.choice(chars) for _ in range(length)]) diff --git a/lbrynet/lbrynet_daemon/DaemonControl.py b/lbrynet/lbrynet_daemon/DaemonControl.py index d3893c7ac..ba9f95af2 100644 --- a/lbrynet/lbrynet_daemon/DaemonControl.py +++ b/lbrynet/lbrynet_daemon/DaemonControl.py @@ -31,7 +31,6 @@ def stop(): def start(): - utils.setup_certs_for_windows() conf.initialize_settings() parser = argparse.ArgumentParser(description="Launch lbrynet-daemon")