From 013046b44df51ac48326c6c3ee1e92db9c3682c1 Mon Sep 17 00:00:00 2001 From: "regicidal.plutophage" <36969337+regicidalplutophage@users.noreply.github.com> Date: Wed, 1 Mar 2023 05:55:03 +0300 Subject: [PATCH] Update power.py --- kmk/modules/power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/modules/power.py b/kmk/modules/power.py index 81385d9..5dec7e8 100644 --- a/kmk/modules/power.py +++ b/kmk/modules/power.py @@ -123,7 +123,7 @@ class Power(Module): return def usb_rescan_timer(self): - return bool(check_deadline(ticks_ms(), self._usb_last_scan, 5000) == False) + return bool(check_deadline(ticks_ms(), self._usb_last_scan, 5000) is False) def usb_time_reset(self): self._usb_last_scan = ticks_ms()