Skip to content

Commit

Permalink
support latest pyee (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Oct 15, 2024
1 parent 2ac0381 commit b8d9a6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ovos_utils/fakebus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d9a6f

Please sign in to comment.