mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: fixed a bug which prevented rebooting
This commit is contained in:
@ -128,7 +128,7 @@ def reboot(mode=None):
|
|||||||
logging.warning("rebooting ...")
|
logging.warning("rebooting ...")
|
||||||
|
|
||||||
if view.ROOT:
|
if view.ROOT:
|
||||||
view.ROOT.on_reboot()
|
view.ROOT.on_rebooting()
|
||||||
# give it some time to refresh the ui
|
# give it some time to refresh the ui
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user