From c05f073b33f59db2a6e9957512d4e5b028d8073a Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Sat, 23 Dec 2023 14:15:53 -0800 Subject: [PATCH] Update bumble/host.py Co-authored-by: zxzxwu <92432172+zxzxwu@users.noreply.github.com> --- bumble/host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumble/host.py b/bumble/host.py index 893346db..413a13f3 100644 --- a/bumble/host.py +++ b/bumble/host.py @@ -110,7 +110,7 @@ class AclPacketQueue: self.packets.appendleft(packet) self.check_queue() - if len(self.packets): + if self.packets: logger.debug( f'{self.in_flight} ACL packets in flight, ' f'{len(self.packets)} in queue'