From 2f6979476a2f206240c3c72fcb66a2bda19a4975 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 21 Jan 2022 11:02:58 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index cf38711..d74479b 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -1543,10 +1543,10 @@ class NeoBootImageChoose(Screen): from Plugins.Extensions.NeoBoot.unpack import InstallImage self.session.open(InstallImage) except Exception as e: - showlog = 'cat ' + getNeoLocation() + 'ImageBoot/neoboot.log' 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))) - #mess = _('Sorry, cannot open instalation menu.\nAccess error with error code 0x72.') + os.system('echo "Cannot open command, error in line ^:" >> ' + getNeoLocation() + 'ImageBoot/neoboot.log') + showlog = 'cat ' + getNeoLocation() + 'ImageBoot/neoboot.log' self.session.openWithCallback(self.close, Console, _('NeoBoot ERROR !!!'), [showlog]) def DownloaderImage(self):