Update plugin.py

This commit is contained in:
gutosie
2021-12-05 06:46:25 +02:00
committed by GitHub
parent 26911bc389
commit 2fb42824f6

View File

@@ -1289,7 +1289,7 @@ class NeoBootImageChoose(Screen):
mess = _('Sorry cannot open neo menu. Access Fails with Error code 0x50.') mess = _('Sorry cannot open neo menu. Access Fails with Error code 0x50.')
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
elif not fileExists('/.multinfo'): elif not fileExists('/.multinfo'):
if getTestIn() == getTestOut(): if getTestIn() == getTestOut() and getCheckActivateVip() == getBoxMacAddres():
if ('1234%s' % getTestToTest()) == getAccessN(): if ('1234%s' % getTestToTest()) == getAccessN():
if (getSupportedTuners()) == (getBoxHostName()): if (getSupportedTuners()) == (getBoxHostName()):
try: try:
@@ -1392,6 +1392,9 @@ class NeoBootImageChoose(Screen):
else: else:
self.ImageInstallTestOK() self.ImageInstallTestOK()
else: else:
if getTestIn() == getTestOut() and getCheckActivateVip() == getBoxMacAddres():
self.ImageInstallTestOK()
else:
myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button or try to update.') myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button or try to update.')
self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO) self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
else: else: