From ff814931532a061d37e104c6a76107071da32091 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 8 Dec 2025 16:14:31 +0200 Subject: [PATCH] add download image online - red button --- NeoBoot/files/i_neo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoBoot/files/i_neo.py b/NeoBoot/files/i_neo.py index f0eff03..d85b2bc 100644 --- a/NeoBoot/files/i_neo.py +++ b/NeoBoot/files/i_neo.py @@ -352,14 +352,14 @@ class DownloadImageNeo(Screen): def downloadError(self, reason, status): self.downloader.stop() - self.session.openWithCallback(self.abort, MessageBox, _("Error during downloading image\n%s\n%s") % (self.imagename, reason), type=MessageBox.TYPE_ERROR, simple=True) + self.session.openWithCallback(self.abort, MessageBox, _("Error during downloading image\n%s\n%s") % (self.imagename, reason), type=MessageBox.TYPE_ERROR, simple=True ) def downloadEnd(self): self.downloader.stop() self.downloadfinish() def downloadfinish(self): - self.session.openWithCallback(self.abort, MessageBox, _("Downloading image successful"), type=MessageBox.TYPE_INFO, simple=True) + self.abort(self.session.open(MessageBox, _("Downloading image successful. Press Exit..."), MessageBox.TYPE_INFO, 30, simple=True )) def abort(self, reply=None): if self.getImageList or self.containerofgwrite: