misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
cf8a4da9e7
commit
0830e0c74b
@ -138,7 +138,7 @@ class Handler:
|
||||
return render_template_string(STATUS_PAGE, title=pwnagotchi.name(),
|
||||
message='Restart in %s mode ...' % mode)
|
||||
finally:
|
||||
_thread.start_new_thread(pwnagotchi.shutdown, (mode,))
|
||||
_thread.start_new_thread(pwnagotchi.restart, (mode,))
|
||||
|
||||
# serve the PNG file with the display image
|
||||
def ui(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user