Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
barbibulle committed Jan 10, 2024
1 parent 481cf40 commit 30f89d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumble/rfcomm.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def on_uih_frame(self, frame: RFCOMM_Frame) -> None:
f'[{self.dlci}] {len(data)} bytes, '
f'rx_credits={self.rx_credits}: {data.hex()}'
)
if len(data):
if data:
if self.sink:
self.sink(data) # pylint: disable=not-callable

Expand Down

0 comments on commit 30f89d5

Please sign in to comment.