pacify the linter

This commit is contained in:
xs5871 2022-07-03 15:50:57 +00:00 committed by Kyle Brown
parent 36703a1e0d
commit 178acc0702
2 changed files with 2 additions and 4 deletions

View File

@ -232,8 +232,8 @@ class Combos(Module):
if not combo._remaining:
self.activate(keyboard, combo)
# check if the last buffered key event was a release
if self._key_buffer[-1][2] == False:
# check if the last buffered key event was a 'release'
if not self._key_buffer[-1][2]:
keyboard._send_hid()
self.deactivate(keyboard, combo)
self._key_buffer = []

View File

@ -1,6 +1,4 @@
import random
import time
from functools import reduce
from unittest.mock import Mock, patch
from kmk.hid import HIDModes