From 20de5ea250b81ac34aeab1f41acd9d31dbec4825 Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Sat, 13 Jan 2024 09:22:04 -0800 Subject: [PATCH] format --- bumble/device.py | 4 +--- examples/run_extended_advertiser_2.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bumble/device.py b/bumble/device.py index 6049e0f6..d393f6a9 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -1946,9 +1946,7 @@ class Device(CompositeEventEmitter): @property def supports_le_extended_advertising(self): - return self.supports_le_features( - LeFeatureMask.LE_EXTENDED_ADVERTISING - ) + return self.supports_le_features(LeFeatureMask.LE_EXTENDED_ADVERTISING) async def start_advertising( self, diff --git a/examples/run_extended_advertiser_2.py b/examples/run_extended_advertiser_2.py index 6e6f5724..db4d6199 100644 --- a/examples/run_extended_advertiser_2.py +++ b/examples/run_extended_advertiser_2.py @@ -42,7 +42,7 @@ async def main() -> None: await device.power_on() if not device.supports_le_extended_advertising: - print("Device does not support extended adverising") + print("Device does not support extended advertising") return print("Max advertising sets:", device.host.number_of_supported_advertising_sets)