Temp fix del coord crash

This commit is contained in:
zyxwars authored and Kyle Brown committed 2022-03-12 08:37:05 -08:00
1 parent cbaf995e33
commit 2d005048cc
1 file changed
+4 -1
+4 -1
View File
@@ -175,7 +175,10 @@ class KMKKeyboard:
if is_pressed:
self._coordkeys_pressed[int_coord] = self.current_key
else:
del self._coordkeys_pressed[int_coord]
try:
del self._coordkeys_pressed[int_coord]
except KeyError:
print(f'KeyNotPressed(ic={int_coord})')
if self.current_key:
self.process_key(self.current_key, is_pressed, int_coord)