mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -138,7 +138,7 @@ class Handler:
|
|||||||
return render_template_string(STATUS_PAGE, title=pwnagotchi.name(),
|
return render_template_string(STATUS_PAGE, title=pwnagotchi.name(),
|
||||||
message='Restart in %s mode ...' % mode)
|
message='Restart in %s mode ...' % mode)
|
||||||
finally:
|
finally:
|
||||||
_thread.start_new_thread(pwnagotchi.shutdown, (mode,))
|
_thread.start_new_thread(pwnagotchi.restart, (mode,))
|
||||||
|
|
||||||
# serve the PNG file with the display image
|
# serve the PNG file with the display image
|
||||||
def ui(self):
|
def ui(self):
|
||||||
|
Reference in New Issue
Block a user