From 0cdd40ea0e71c97153f86a0f7baef9cc3ebe70d1 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 8 Dec 2025 17:27:08 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 6818dcb..bdbbdec 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -293,11 +293,13 @@ class NeoBootImageChoose(Screen): mess = _('Downloading available only from the image Flash.') self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) else: - if not fileExists('/usr/lib/python2.7'): + if not fileExists('/usr/lib/python2.7') and fileExists('/usr/lib/enigma2/python/Plugins/PLi'): + try: from Plugins.Extensions.NeoBoot.files.i_neo import SelectImage self.session.open(SelectImage) - #mess = _('Plug installation lost.The plugin doesnt work on python 3 yet. Please try again later.') - #self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) + except: + mess = _('Plug installation lost.The plugin doesnt work on python 3 yet. Please try again later.') + self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) elif not os.path.exists('/usr/lib/enigma2/python/Plugins/Extensions/ImageDownloader/download.py'): message = _('Plugin ImageDownloader not installed!\nInstall plugin to download new image? \and---Continue ?---') ybox = self.session.openWithCallback(self.InstallImageDownloader, MessageBox, message, MessageBox.TYPE_YESNO)