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()