Skip to content

Commit

Permalink
fix: fixed a bug which prevented rebooting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 5, 2019
1 parent 403ee24 commit 4e592df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnagotchi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def reboot(mode=None):
logging.warning("rebooting ...")

if view.ROOT:
view.ROOT.on_reboot()
view.ROOT.on_rebooting()
# give it some time to refresh the ui
time.sleep(10)

Expand Down

0 comments on commit 4e592df

Please sign in to comment.