Update plugin.py

This commit is contained in:
gutosie
2021-11-30 22:50:12 +02:00
committed by GitHub
parent 348ecdb189
commit d3f553ef43

View File

@@ -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.')