Update devices.py

This commit is contained in:
gutosie
2022-06-04 20:45:40 +03:00
committed by GitHub
parent e228437a57
commit 664b1f3238

View File

@@ -472,7 +472,8 @@ class DevicesConf(Screen, ConfigListScreen):
def myclose(self, answer):
if answer is True:
self.messagebox = self.session.open(MessageBox, _('Return to installation...'), MessageBox.TYPE_INFO)
self.close()
#self.close()
system('reboot -f')
else:
self.messagebox = self.session.open(MessageBox, _('Return to installation...'), MessageBox.TYPE_INFO)
self.close()