aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2009-10-07 10:16:11 +0000
committeracid-burn <acidburn@opendreambox.org>2009-10-07 10:16:11 +0000
commita50e6cee4c01a0fb96c1446e6f9d39da1e7556c8 (patch)
treee6af348130b987f4b6ad30de4e07eedc18141ca4 /lib
parente466332984a584a9c46e2481a7c07e918529d964 (diff)
parent0b06818dbb088f312e4b7c3099bde8adbb301124 (diff)
downloadenigma2-a50e6cee4c01a0fb96c1446e6f9d39da1e7556c8.tar.gz
enigma2-a50e6cee4c01a0fb96c1446e6f9d39da1e7556c8.zip
Merge branch 'master' of /git/enigma2
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
index a1522ddb..6463f179 100644
--- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
+++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
@@ -653,11 +653,11 @@ class NFIDownload(Screen):
self.session.open(MessageBox, _("To update your Dreambox firmware, please follow these steps:\n1) Turn off your box with the rear power switch and plug in the bootable USB stick.\n2) Turn mains back on and hold the DOWN button on the front panel pressed for 10 seconds.\n3) Wait for bootup and follow instructions of the wizard."), type = MessageBox.TYPE_INFO)
def closeCB(self):
- if self.download:
+ try:
self.download.stop()
#self.nfi_failed(None, "Cancelled by user request")
self.downloading(False)
- else:
+ except AttributeError:
self.close()
def main(session, **kwargs):