Update plugin.py

This commit is contained in:
gutosie
2021-12-06 10:28:38 +02:00
committed by GitHub
parent 796ab5a40f
commit d7f2cae652

View File

@@ -1123,7 +1123,7 @@ class NeoBootImageChoose(Screen):
def restartGUI(self, answer): def restartGUI(self, answer):
if answer is True: if answer is True:
os.system('rm -f ' + LinkNeoBoot + '/.location; rm -r ' + LinkNeoBoot + '/ubi_reader') os.system('rm -f ' + LinkNeoBoot + '/.location; rm -r ' + LinkNeoBoot + '/ubi_reader; chattr +i ' + LinkNeoBoot + '/plugin.py; chattr +i ' + LinkNeoBoot + '/plugin.pyo')
self.session.open(TryQuitMainloop, 3) self.session.open(TryQuitMainloop, 3)
else: else:
self.close() self.close()