Update tools.py

This commit is contained in:
gutosie
2023-01-12 21:34:21 +02:00
committed by GitHub
parent 03ab6bed90
commit 9312f6e0f2

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# system modules # system modules
@@ -2365,7 +2365,7 @@ class Opis(Screen):
self.close() self.close()
else: else:
if answer is True: if answer is True:
os.system('touch /tmp/.upneo; rm -r /tmp/.*; chattr -i ' + LinkNeoBoot + '/plugin.py') os.system('touch /tmp/.upneo; rm -r /tmp/.*')
if fileExists('' + LinkNeoBoot + '/.location'): if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location') system('rm -f ' + LinkNeoBoot + '/.location')
if fileExists('/usr/bin/curl'): if fileExists('/usr/bin/curl'):