Skip to content

Commit

Permalink
keep error message
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 15, 2024
1 parent c2d7402 commit 377f7d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ovos_core/skill_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,13 @@ def run(self):
# trigger a sync so we dont need to wait for the plugin to volunteer info
self._sync_skill_loading_state()

if not all((self._network_loaded.is_set(),
self._internet_loaded.is_set())):
self.bus.emit(Message(
'mycroft.skills.error',
{'internet_loaded': self._internet_loaded.is_set(),
'network_loaded': self._network_loaded.is_set()}))

self.bus.emit(Message('mycroft.skills.initialized'))

self.status.set_ready()
Expand Down

0 comments on commit 377f7d0

Please sign in to comment.