diff --git a/ovos_utils/fakebus.py b/ovos_utils/fakebus.py index 4e86ddc..d08300f 100644 --- a/ovos_utils/fakebus.py +++ b/ovos_utils/fakebus.py @@ -2,7 +2,7 @@ from copy import deepcopy from threading import Event -from pyee import BaseEventEmitter +from pyee import EventEmitter from ovos_utils.log import LOG, log_deprecation @@ -20,7 +20,7 @@ class FakeBus: def __init__(self, *args, **kwargs): self.started_running = False self.session_id = "default" - self.ee = kwargs.get("emitter") or BaseEventEmitter() + self.ee = kwargs.get("emitter") or EventEmitter() self.ee.on("error", self.on_error) self.on_open() try: diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 70a857a..53510a8 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -3,7 +3,7 @@ requests~=2.26 json_database~=0.7 kthread~=0.2 watchdog -pyee +pyee>=8.0.0 combo-lock~=0.2 rich-click~=1.7 rich~=13.7