X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FSystemPlugins%2FNFIFlash%2Fdownloader.py;h=6463f179f3db45f8e20c6a3c8310e65b5585ff72;hp=a1522ddbb368d2dbad9db9a39c1efc37fc53af2b;hb=7e064d56b3b1fc640f3aff218840f537c8119e64;hpb=5f565fabd83bad38dbd5d79e881743c0fb29dde1 diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py index a1522dd..6463f17 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):