From 719e69ddba56d954c01d038c3dffeb91fb2c4c25 Mon Sep 17 00:00:00 2001 From: WillB97 Date: Sun, 30 Jun 2024 19:05:49 +0100 Subject: [PATCH] Add missing whitespace --- sbot/power_board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbot/power_board.py b/sbot/power_board.py index b0c5d65..15e4f9c 100644 --- a/sbot/power_board.py +++ b/sbot/power_board.py @@ -482,7 +482,7 @@ def buzz(self, frequency: float, duration: float) -> None: frequency, 8, 10_000, "Frequency is a float in Hz between 0 and 10000")) duration_ms = int(float_bounds_check( duration * 1000, 0, 2**31 - 1, - f"Duration is a float in seconds between 0 and {(2**31-1)/1000:,.0f}")) + f"Duration is a float in seconds between 0 and {(2**31 - 1) / 1000:,.0f}")) cmd = f'NOTE:{frequency_int}:{duration_ms}' self._serial.write(cmd)