Skip to content

Commit 5634446

Browse files
committed
use raise-from
1 parent 991e5d2 commit 5634446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/esp32spi_wsgiserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def led_color(environ): # pylint: disable=unused-argument
216216
Please create one named {0} in the root of the device filesystem.""".format(
217217
static
218218
)
219-
)
219+
) from e
220220

221221
web_app = SimpleWSGIApplication(static_dir=static)
222222
web_app.on("GET", "/led_on", led_on)

0 commit comments

Comments
 (0)