From 736b478edad1bf3074413748f24039d41a9dd248 Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Tue, 16 Aug 2022 11:05:27 -0700 Subject: [PATCH] fix imports --- bumble/l2cap.py | 2 +- bumble/rfcomm.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bumble/l2cap.py b/bumble/l2cap.py index 7a2ca2bf..a615bf26 100644 --- a/bumble/l2cap.py +++ b/bumble/l2cap.py @@ -20,11 +20,11 @@ import logging import struct from colors import color +from pyee import EventEmitter from .core import BT_CENTRAL_ROLE, InvalidStateError, ProtocolError from .hci import (HCI_LE_Connection_Update_Command, HCI_Object, key_with_value, name_or_number) -from .utils import EventEmitter # ----------------------------------------------------------------------------- # Logging diff --git a/bumble/rfcomm.py b/bumble/rfcomm.py index 527eaf1c..be4d4069 100644 --- a/bumble/rfcomm.py +++ b/bumble/rfcomm.py @@ -17,9 +17,10 @@ # ----------------------------------------------------------------------------- import logging import asyncio -from colors import color -from .utils import EventEmitter +from colors import color +from pyee import EventEmitter + from .core import InvalidStateError, ProtocolError, ConnectionError # -----------------------------------------------------------------------------