From 086e88ff090a0604aedd92e75ce5169d693c4e77 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Sun, 12 Oct 2008 17:25:15 +0000 Subject: bugfix for cancelling --- lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py index 5a95d3fd..036523a4 100644 --- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py +++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py @@ -469,7 +469,7 @@ class NFIDownload(Screen): print "[flasherdownload_failed] " + error_message message = "%s %s" % (_("Download of USB flasher boot image failed: "),error_message) self.session.open(MessageBox, message, MessageBox.TYPE_ERROR) - self.query_remove_img(True) + self.remove_img(True) def flasherdownload_finished(self, string=""): print "[flasherdownload_finished] " + str(string) @@ -555,7 +555,7 @@ class NFIDownload(Screen): self.delayTimer.callback.append(self.progress_increment) self.delayTimer.start(105, False) else: - self.remove_img() + self.remove_img(True) def fdisk_finished(self, retval): self.container.appClosed.get().remove(self.fdisk_finished) -- cgit v1.2.3