fix: fixed a bug which prevented rebooting
This commit is contained in:
parent
403ee242a6
commit
4e592df6d8
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user