From 4e7cedd4200b0d583837a38a0dcd6c4bb887c2f4 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 21 Mar 2022 08:12:54 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index fd2979b..6c54f7c 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -413,9 +413,9 @@ class NeoBootInstallation(Screen): def devices(self): check = False - #if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo') : - #self.session.open(MessageBox, _('Skip this step and install neoboot.\nThis option is available in the neoboot menu.'), type=MessageBox.TYPE_INFO) - if check == False: + if not fileExists('/usr/lib/python2.7') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo'): + self.session.open(MessageBox, _('Skip this step and install neoboot.\nThis option is available in the neoboot menu.'), type=MessageBox.TYPE_INFO) + elif check == False: message = _('After selecting OK start Mounting Manager, option Mount - green\n') message += _('Do you want to run the manager to mount the drives correctly ?\n') ybox = self.session.openWithCallback(self.device2, MessageBox, message, MessageBox.TYPE_YESNO)