Update plugin.py

This commit is contained in:
gutosie
2021-12-18 13:04:24 +02:00
committed by GitHub
parent c2c51c84c6
commit 532edb61a9

View File

@@ -755,17 +755,7 @@ class NeoBootImageChoose(Screen):
if getCheckActivateVip() == getBoxMacAddres(): if getCheckActivateVip() == getBoxMacAddres():
self['label21'] = Label('VIP: On') self['label21'] = Label('VIP: On')
else: else:
self['label21'] = Label('VIP: Off') self['label21'] = Label('VIP: Off')
if not fileExists('/etc/vtiversion.info') and not fileExists('/.multinfo'):
if getCheckActivateVip() != getBoxMacAddres():
self['label22'] = Label(_('Ethernet MAC not found.'))
if not fileExists('/usr/lib/periodon/.kodn'):
self['label23'] = Label(_('PRESS VIP PIN CODE NOW: xxxx'))
if getTestToTest() != UPDATEVERSION :
self['label24'] = Label(_('Update ' + getTestToTest() + ' is available.'))
else:
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn') and getTestToTest() == UPDATEVERSION :
self['label25'] = Label(_('CPU: ' + getCPUtype() + ' ' + getChipSetString() + ''))
self['actions'] = ActionMap(['WizardActions', self['actions'] = ActionMap(['WizardActions',
'ColorActions', 'ColorActions',
'MenuActions', 'MenuActions',