From 214110bc8aaf2b26176ebcfbe46d185e0399fe52 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 7 Feb 2022 09:25:45 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 235c65a..de7c795 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -858,8 +858,12 @@ class NeoBootImageChoose(Screen): os.system('rm -f /.control_boot_new_image; echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok ') if not fileExists('/.control_boot_new_image'): os.system('echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok') - - def DownloadImageOnline(self): + + def DownloadImageOnline(self): + mess = _('Plug installation lost. Please try again later.') + self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) + + def OFF_DownloadImageOnline(self): if 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)