mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 14:35:48 +01:00
Update plugin.py
This commit is contained in:
@@ -1543,10 +1543,11 @@ class NeoBootImageChoose(Screen):
|
|||||||
from Plugins.Extensions.NeoBoot.unpack import InstallImage
|
from Plugins.Extensions.NeoBoot.unpack import InstallImage
|
||||||
self.session.open(InstallImage)
|
self.session.open(InstallImage)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
showlog = 'cat ' + getNeoLocation() + 'ImageBoot/neoboot.log'
|
||||||
loggscrash = time.localtime(time.time())
|
loggscrash = time.localtime(time.time())
|
||||||
LogCrashGS('%02d:%02d:%d %02d:%02d:%02d - %s\r\n' % (loggscrash.tm_mday, loggscrash.tm_mon, loggscrash.tm_year, loggscrash.tm_hour, loggscrash.tm_min, loggscrash.tm_sec, str(e)))
|
LogCrashGS('%02d:%02d:%d %02d:%02d:%02d - %s\r\n' % (loggscrash.tm_mday, loggscrash.tm_mon, loggscrash.tm_year, loggscrash.tm_hour, loggscrash.tm_min, loggscrash.tm_sec, str(e)))
|
||||||
mess = _('Sorry, cannot open instalation menu.\nAccess error with error code 0x72.')
|
#mess = _('Sorry, cannot open instalation menu.\nAccess error with error code 0x72.')
|
||||||
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
self.session.openWithCallback(self.close, Console, _('NeoBoot ERROR !!!'), [showlog])
|
||||||
|
|
||||||
def DownloaderImage(self):
|
def DownloaderImage(self):
|
||||||
if not os.path.exists('/usr/lib/enigma2/python/Plugins/Extensions/ImageDownloader/download.py'):
|
if not os.path.exists('/usr/lib/enigma2/python/Plugins/Extensions/ImageDownloader/download.py'):
|
||||||
|
|||||||
Reference in New Issue
Block a user