mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 22:45:47 +01:00
Update plugin.py
This commit is contained in:
@@ -1287,7 +1287,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
self['label10'].setText(strview)
|
self['label10'].setText(strview)
|
||||||
|
|
||||||
def mytools(self):
|
def mytools(self):
|
||||||
if getCheckActivateVip() == getBoxMacAddres():
|
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||||
try:
|
try:
|
||||||
from Plugins.Extensions.NeoBoot.files.tools import MBTools
|
from Plugins.Extensions.NeoBoot.files.tools import MBTools
|
||||||
self.session.open(MBTools)
|
self.session.open(MBTools)
|
||||||
@@ -1385,7 +1385,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
self.session.open(MessageBox, _('Removing canceled!'), MessageBox.TYPE_INFO)
|
self.session.open(MessageBox, _('Removing canceled!'), MessageBox.TYPE_INFO)
|
||||||
|
|
||||||
def ImageInstall(self):
|
def ImageInstall(self):
|
||||||
if getCheckActivateVip() == getBoxMacAddres():
|
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||||
self.ImageInstallTestOK()
|
self.ImageInstallTestOK()
|
||||||
elif not fileExists('/.multinfo'):
|
elif not fileExists('/.multinfo'):
|
||||||
if ('1234%s' % getTestToTest()) != getAccessN():
|
if ('1234%s' % getTestToTest()) != getAccessN():
|
||||||
|
|||||||
Reference in New Issue
Block a user