mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-17 13:59:47 +01:00
Update plugin.py
This commit is contained in:
@@ -294,16 +294,15 @@ class NeoBootImageChoose(Screen):
|
||||
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
||||
else:
|
||||
if not fileExists('/usr/lib/python2.7'):
|
||||
try:
|
||||
if fileExists('/usr/lib/enigma2/python/Plugins/PLi'):
|
||||
from Plugins.Extensions.NeoBoot.files.i_neo import SelectImage
|
||||
self.session.open(SelectImage)
|
||||
else:
|
||||
elif not fileExists('/usr/lib/enigma2/python/Plugins/PLi'):
|
||||
from Plugins.Extensions.NeoBoot.files.i_neo import ImageManager
|
||||
self.session.open(ImageManager)
|
||||
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)
|
||||
else:
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user