set isOnline to false if offline mode
This commit is contained in:
parent
f42e777408
commit
a1c68fabe7
@ -63,6 +63,9 @@ class OnionrCommunicatorDaemon:
|
|||||||
self.isOnline = True # Assume we're connected to the internet
|
self.isOnline = True # Assume we're connected to the internet
|
||||||
self.shared_state = shared_state # TooManyObjects module
|
self.shared_state = shared_state # TooManyObjects module
|
||||||
|
|
||||||
|
if config.get('general.offline_mode', False):
|
||||||
|
self.isOnline = False
|
||||||
|
|
||||||
# list of timer instances
|
# list of timer instances
|
||||||
self.timers = []
|
self.timers = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user