fix setup_online_mode in daemon launch

This commit is contained in:
Kevin 2020-06-16 02:12:05 -05:00
parent a10a32fafb
commit 0c7afa89f1

View File

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