mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Update plugin.py
This commit is contained in:
@@ -1661,8 +1661,10 @@ def main(session, **kwargs):
|
||||
f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r')
|
||||
mypath2 = f2.readline().strip()
|
||||
f2.close()
|
||||
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage() and getCheckActivateVip() == getBoxMacAddres():
|
||||
|
||||
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage():
|
||||
if getCheckActivateVip() != getBoxMacAddres():
|
||||
session.open(MessageBox, _('Instal neoobot from github'), type=MessageBox.TYPE_ERROR)
|
||||
else:
|
||||
if fileExists('/.multinfo') or fileExists('/usr/lib/periodon/.fullaccess'):
|
||||
session.open(NeoBootImageChoose)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user