From 0719dcc31dc1e8704279d88e0297a9dba0d7f7aa Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Wed, 11 May 2022 16:34:36 +0200 Subject: [PATCH] gattlib-py/examples/ble_scan: Explicit action (logging) --- gattlib-py/examples/ble_scan/ble_scan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gattlib-py/examples/ble_scan/ble_scan.py b/gattlib-py/examples/ble_scan/ble_scan.py index dbe4906..87ed141 100755 --- a/gattlib-py/examples/ble_scan/ble_scan.py +++ b/gattlib-py/examples/ble_scan/ble_scan.py @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: BSD-3-Clause # -# Copyright (c) 2016-2021, Olivier Martin +# Copyright (c) 2016-2022, Olivier Martin # import argparse @@ -24,7 +24,7 @@ def connect_ble_device(device): lock.acquire() print("---------------------------------") - print("Found BLE Device %s" % device.id) + print(f"Found BLE Device {device.id}. Connection tentative...") device.discover() for key, val in device.characteristics.items():