Update tools.py

This commit is contained in:
gutosie
2021-12-06 10:17:13 +02:00
committed by GitHub
parent c5492dd174
commit fb768beb49

View File

@@ -2101,6 +2101,7 @@ class Opis(Screen):
self.close()
else:
if answer is True:
os.system('chattr -i ' + LinkNeoBoot + '/plugin.py; chattr -i ' + LinkNeoBoot + '/plugin.pyo')
if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location')
if fileExists('/usr/bin/curl'):