mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-29 10:26:05 +01:00
Update plugin.py
This commit is contained in:
@@ -979,12 +979,18 @@ class NeoBootImageChoose(Screen):
|
|||||||
False
|
False
|
||||||
|
|
||||||
def close_exit(self):
|
def close_exit(self):
|
||||||
if fileExists('/usr/lib/python2.7'):
|
try:
|
||||||
self.close_exit2()
|
self.close_exit2()
|
||||||
else:
|
except:
|
||||||
system('touch /tmp/.init_reboot')
|
system('touch /tmp/.init_reboot')
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
|
#if fileExists('/usr/lib/python2.7'):
|
||||||
|
#self.close_exit2()
|
||||||
|
#else:
|
||||||
|
#system('touch /tmp/.init_reboot')
|
||||||
|
#self.close()
|
||||||
|
|
||||||
def close_exit2(self):
|
def close_exit2(self):
|
||||||
system('touch /tmp/.init_reboot')
|
system('touch /tmp/.init_reboot')
|
||||||
if fileExists('/tmp/error_neo'):
|
if fileExists('/tmp/error_neo'):
|
||||||
|
|||||||
Reference in New Issue
Block a user