Update plugin.py

This commit is contained in:
gutosie
2022-03-28 20:49:42 +03:00
committed by GitHub
parent e670c3d2e7
commit 1f73c5ca06

View File

@@ -815,7 +815,9 @@ class NeoBootImageChoose(Screen):
self['label11'] = Label('')
self['label12'] = Label('')
self['label13'] = Label(_('Version update: '))
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
if fileExists('/.multinfo') and getImageNeoBoot() != "Flash":
self['label14'] = Label(_('VIP-on NeoBoot: '))
elif getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
self['label14'] = Label(_('VIP-on NeoBoot: '))
else:
self['label14'] = Label(_('VIP-off NeoBoot: '))
@@ -825,7 +827,9 @@ class NeoBootImageChoose(Screen):
self['label18'] = Label('')
self['label19'] = Label('')
self['label20'] = Label('')
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
if fileExists('/.multinfo') and getImageNeoBoot() != "Flash":
self['label21'] = Label('VIP-OK!')
elif getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
self['label21'] = Label('VIP-OK!')
else:
self['label21'] = Label('Enter pin code')