fix setup_online_mode in daemon launch

master
Kevin 2020-06-16 02:12:05 -05:00
parent a10a32fafb
commit 0c7afa89f1
1 changed files with 3 additions and 2 deletions

View File

@ -166,8 +166,9 @@ def daemon():
security_level = config.get('general.security_level', 1)
use_existing_tor = config.get('tor.use_existing_tor', False)
if offline_mode:
_setup_online_mode(offline_mode, use_existing_tor, net, security_level)
if not offline_mode:
# we need to setup tor for use
_setup_online_mode(use_existing_tor, net, security_level)
_show_info_messages()