mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 03:45:48 +01:00
Update plugin.py
This commit is contained in:
@@ -1500,11 +1500,11 @@ def main(session, **kwargs):
|
||||
vip = checkimage()
|
||||
if vip == 1:
|
||||
if fileExists('' + LinkNeoBoot + '/.location'):
|
||||
if not fileExists('/usr/lib/periodon/.kodn'):
|
||||
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
|
||||
elif not fileExists('/usr/lib/periodon/.accesdate') or getAccesDate() != 'isaccess' and fileExists('/usr/lib/periodon/.kodn'):
|
||||
if not fileExists('/usr/lib/periodon/.accesdate') or getAccesDate() != 'isaccess' and fileExists('/usr/lib/periodon/.kodn'):
|
||||
system('rm /usr/lib/periodon/.kodn')
|
||||
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
|
||||
elif not fileExists('/usr/lib/periodon/.kodn'):
|
||||
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
|
||||
else:
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user