Update tools.py

This commit is contained in:
gutosie
2022-01-23 12:30:58 +02:00
committed by GitHub
parent 3b1ad680e1
commit b49a6efc72

View File

@@ -2306,7 +2306,7 @@ class Opis(Screen):
if answer is True:
os.system('touch /tmp/.upneo; chattr -i ' + LinkNeoBoot + '/plugin.py')
if fileExists('' + LinkNeoBoot +'/plugin.pyo'):
cmd3 = 'chattr -i ' + target + '' + LinkNeoBoot +'/plugin.pyo'
os.system('chattr -i ' + target + '' + LinkNeoBoot +'/plugin.pyo')
if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location')
if fileExists('/usr/bin/curl'):