mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-20 15:29:41 +01:00
Update plugin.py
This commit is contained in:
@@ -1270,7 +1270,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
def mytools(self):
|
def mytools(self):
|
||||||
if not fileExists('/.multinfo'):
|
if not fileExists('/.multinfo'):
|
||||||
if getTestIn() == getTestOut() and getCheckActivateVip() == getBoxMacAddres():
|
if getTestIn() == getTestOut() and getCheckActivateVip() == getBoxMacAddres():
|
||||||
if getAccessN() == '1234':
|
if ('1234%s' % getTestToTest()) == getAccessN():
|
||||||
if (getSupportedTuners()) == (getBoxHostName()):
|
if (getSupportedTuners()) == (getBoxHostName()):
|
||||||
try:
|
try:
|
||||||
from Plugins.Extensions.NeoBoot.files.tools import MBTools
|
from Plugins.Extensions.NeoBoot.files.tools import MBTools
|
||||||
@@ -1354,7 +1354,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
def ImageInstall(self):
|
def ImageInstall(self):
|
||||||
if not fileExists('/.multinfo'):
|
if not fileExists('/.multinfo'):
|
||||||
if getAccessN() != '1234': #%s' % UPDATEVERSION
|
if ('1234%s' % getTestToTest()) != getAccessN():
|
||||||
count = 0
|
count = 0
|
||||||
for fn in listdir('' + getNeoLocation() + '/ImageBoot'):
|
for fn in listdir('' + getNeoLocation() + '/ImageBoot'):
|
||||||
dirfile = '' + getNeoLocation() + '/ImageBoot/' + fn
|
dirfile = '' + getNeoLocation() + '/ImageBoot/' + fn
|
||||||
@@ -1495,7 +1495,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
def bootIMG(self):
|
def bootIMG(self):
|
||||||
if not fileExists('/.multinfo'):
|
if not fileExists('/.multinfo'):
|
||||||
if getAccessN() == '1234':
|
if ('1234%s' % getTestToTest()) == getAccessN():
|
||||||
self.bootIMG2()
|
self.bootIMG2()
|
||||||
else:
|
else:
|
||||||
myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button.')
|
myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button.')
|
||||||
|
|||||||
Reference in New Issue
Block a user