Update plugin.py

This commit is contained in:
gutosie
2021-12-10 16:15:37 +02:00
committed by GitHub
parent fe1328c132
commit 0590e2d352

View File

@@ -16,7 +16,7 @@
#neoboot modules
from __future__ import absolute_import
from . import _
from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo, getCheckActivateVip, getBoxMacAddres, getCheckExt
from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getChipSetString, getCPUString, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo, getCheckActivateVip, getBoxMacAddres, getCheckExt
from Plugins.Extensions.NeoBoot.files import Harddisk
from Components.About import about
from enigma import getDesktop, eTimer
@@ -756,7 +756,10 @@ class NeoBootImageChoose(Screen):
if not fileExists('/usr/lib/periodon/.kodn'):
self['label22'] = Label(_('PRESS VIP PIN CODE NOW: xxxx'))
if getTestToTest() != UPDATEVERSION and not fileExists('/.multinfo'):
self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.'))
self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.'))
else:
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn') and getTestToTest() == UPDATEVERSION :
self['label24'] = Label(_('CPU: ' + getCPUString() + ' ' + getChipSetString() + ''))
self['actions'] = ActionMap(['WizardActions',
'ColorActions',
'MenuActions',