Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Feb 27, 2023
1 parent 912f82f commit 09dcef9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions adafruit_airlift/esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,12 @@ def reset(self, mode: int, debug: bool = False) -> None:
try:
print(startup_message.decode("utf-8"))
except UnicodeError:
raise RuntimeError("Garbled ESP32 startup message") from UnicodeError
raise RuntimeError(
"Garbled ESP32 startup message"
) from UnicodeError
else:
raise RuntimeError("ESP32 did not respond with a startup message")

# Everything's fine. Remember mode.
self._mode = mode

Expand Down

0 comments on commit 09dcef9

Please sign in to comment.