diff --git a/api/ble.py b/api/ble.py index 50c385e..945e3b4 100644 --- a/api/ble.py +++ b/api/ble.py @@ -236,7 +236,7 @@ def read_data_sync(mac: str) -> Optional[SensorReading]: def reset_adapter(big_reset = False): log.info("Restting BT Adapter...") if big_reset: - log.warning("Doing big reset - USB ID {current_usb_id}") + log.warning(f"Doing big reset - USB ID {current_usb_id}") log.info(subprocess.run(["usbreset", current_usb_id], capture_output=True, text=True, check=True).stdout.strip()) time.sleep(2) else: