mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
added exception to explorer stopping
This commit is contained in:
parent
cce39a161f
commit
8778c17d88
1 changed files with 4 additions and 1 deletions
|
@ -136,7 +136,10 @@ class SM:
|
||||||
|
|
||||||
def stop_explorer_publishing(self):
|
def stop_explorer_publishing(self):
|
||||||
if self.config['STATION']['enable_explorer']:
|
if self.config['STATION']['enable_explorer']:
|
||||||
del self.explorer
|
try:
|
||||||
|
del self.explorer
|
||||||
|
except Exception as e:
|
||||||
|
self.log.info("[EXPLORER] Error while stopping...", e=e)
|
||||||
|
|
||||||
def start_radio_manager(self):
|
def start_radio_manager(self):
|
||||||
self.app.radio_manager = radio_manager.RadioManager(self.config, self.state_manager, self.event_manager)
|
self.app.radio_manager = radio_manager.RadioManager(self.config, self.state_manager, self.event_manager)
|
||||||
|
|
Loading…
Reference in a new issue