Skip to content

Commit bfdac54

Browse files
committed
fix pylint
1 parent 8a9ed1a commit bfdac54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/gpio/esp32spi_gpio.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ def esp_status_text(n):
8585

8686
espfirmware = ""
8787
for _ in esp.firmware_version:
88-
if _ == 0:
89-
break
90-
else:
88+
if _ != 0:
9189
espfirmware += "{:c}".format(_)
9290
print("ESP32 Firmware:", espfirmware)
9391

0 commit comments

Comments
 (0)