Update tools.py

This commit is contained in:
gutosie
2021-08-22 11:51:01 +03:00
committed by GitHub
parent 37e158bd26
commit 938f54cc2d

View File

@@ -2001,7 +2001,7 @@ class ReinstallKernel(Screen):
self.kernel_update()
def kernel_update(self):
if not fileCheck('' + LinkNeoBoot + '/.location') and not fileCheck(' ' + getNeoLocation() + 'ImageBoot/.neonextboot'):
if not fileCheck('' + LinkNeoBoot + '/.location'):
pass
else:
os.system('echo "Flash " > ' + getNeoLocation() + 'ImageBoot/.neonextboot')