From cfc756e187e7173b0a00d35808ed911f3e41840a Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 15 Dec 2021 10:44:34 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index cf6344b..2d11584 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -1287,7 +1287,7 @@ class NeoBootImageChoose(Screen): self['label10'].setText(strview) def mytools(self): - if getCheckActivateVip() == getBoxMacAddres(): + if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'): try: from Plugins.Extensions.NeoBoot.files.tools import MBTools self.session.open(MBTools) @@ -1385,7 +1385,7 @@ class NeoBootImageChoose(Screen): self.session.open(MessageBox, _('Removing canceled!'), MessageBox.TYPE_INFO) def ImageInstall(self): - if getCheckActivateVip() == getBoxMacAddres(): + if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'): self.ImageInstallTestOK() elif not fileExists('/.multinfo'): if ('1234%s' % getTestToTest()) != getAccessN():