fix tor dir being too open

This commit is contained in:
Kevin Froman 2020-02-02 03:23:59 -06:00
parent 8e5152a14e
commit 8a82e76182
4 changed files with 7 additions and 3 deletions

View file

@ -114,6 +114,10 @@ def daemon():
if not offline_mode:
if use_existing_tor:
try:
os.mkdir(filepaths.tor_hs_loc)
except FileExistsError:
pass
net.socksPort = config.get('tor.existing_socks_port')
try:
net.myID = create_onion_service(