don't need this anymore
This commit is contained in:
parent
ddfaf51393
commit
fb2823f59e
2 changed files with 0 additions and 7 deletions
|
@ -97,12 +97,6 @@ def check_connection(server="www.lbry.io", port=80):
|
||||||
return False
|
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):
|
def random_string(length=10, chars=string.ascii_lowercase):
|
||||||
return ''.join([random.choice(chars) for _ in range(length)])
|
return ''.join([random.choice(chars) for _ in range(length)])
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ def stop():
|
||||||
|
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
utils.setup_certs_for_windows()
|
|
||||||
conf.initialize_settings()
|
conf.initialize_settings()
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="Launch lbrynet-daemon")
|
parser = argparse.ArgumentParser(description="Launch lbrynet-daemon")
|
||||||
|
|
Loading…
Add table
Reference in a new issue