Skip to content

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Oct 18, 2023
1 parent c958104 commit 2749616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_PHAL/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PHAL:
def __init__(self, config=None, bus=None,
on_ready=on_ready, on_error=on_error,
on_stopping=on_stopping, on_started=on_started, on_alive=on_alive,
watchdog=lambda: None, skill_id="ovos.PHAL", **kwargs):
watchdog=lambda: None, skill_id="PHAL", **kwargs):
if not bus:
bus = MessageBusClient()
bus.run_in_thread()
Expand All @@ -54,7 +54,7 @@ def __init__(self, config=None, bus=None,
on_stopping=stopping_hook,
on_alive=alive_hook,
on_started=started_hook)
self.status = ProcessStatus("PHAL", callback_map=callbacks)
self.status = ProcessStatus(skill_id, callback_map=callbacks)
self._watchdog = watchdog # TODO implement
self.user_config = config or Configuration().get("PHAL") or {}
if "admin" in self.user_config:
Expand Down

0 comments on commit 2749616

Please sign in to comment.