set isOnline to false if offline mode

This commit is contained in:
Kevin Froman 2019-12-18 04:05:37 -06:00
parent f42e777408
commit a1c68fabe7

View File

@ -63,6 +63,9 @@ class OnionrCommunicatorDaemon:
self.isOnline = True # Assume we're connected to the internet
self.shared_state = shared_state # TooManyObjects module
if config.get('general.offline_mode', False):
self.isOnline = False
# list of timer instances
self.timers = []