Skip to content

Commit

Permalink
Update skills.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray authored Nov 4, 2024
1 parent 0c511dc commit 42e83fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ovos_utils/skills.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Union
from ovos_bus_client.util import wait_for_reply


Expand Down Expand Up @@ -27,12 +26,12 @@ def check_class(cls):
return set(check_class(obj.__class__))


def skills_loaded(bus=None) -> Union[bool, str]:
def skills_loaded(bus=None) -> bool:
"""
Await a reply from mycroft.skills.all_loaded to check if all skills are
loaded.
@param bus: OVOS messagebus client
@return: Status string value if all skills are loaded, False otherwise
@return: Are all skills loaded? True/False
"""
if bus is None:
return False
Expand Down

0 comments on commit 42e83fb

Please sign in to comment.