We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cfc078 commit 9a65eacCopy full SHA for 9a65eac
adafruit_hid/keyboard.py
@@ -163,7 +163,7 @@ def _remove_keycode_from_report(self, keycode: int) -> None:
163
def led_status(self) -> bytes:
164
"""Returns the last received report"""
165
# get_last_received_report() returns None when nothing was received
166
- return self._keyboard_device.get_last_received_report() or b'\x00'
+ return self._keyboard_device.get_last_received_report() or b"\x00"
167
168
def led_on(self, led_code: int) -> bool:
169
"""Returns whether an LED is on based on the led code
0 commit comments