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")