fix: fixed a bug which prevented rebooting
This commit is contained in:
1 parent
403ee242a6
commit
4e592df6d8
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user