aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-01-03 10:36:52 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-01-03 10:36:52 +0100
commitd63d0d7c3eea47ee35f35fd0bd6407cfdf915d38 (patch)
tree6334dd45885f30874caeef5e23e15e0af21d7545 /lib/python/Plugins
parent85209b4213f85d7b5f9f46ee5cfc1c6115c51828 (diff)
parent7195b20d327c676c845bd1c197347b5a6a10b0bb (diff)
downloadenigma2-d63d0d7c3eea47ee35f35fd0bd6407cfdf915d38.tar.gz
enigma2-d63d0d7c3eea47ee35f35fd0bd6407cfdf915d38.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
index 160620fd..7b4add56 100644
--- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
+++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from Components.MenuList import MenuList
from Screens.Screen import Screen
from Screens.MessageBox import MessageBox
@@ -657,6 +658,9 @@ class NFIDownload(Screen):
dt = date(d.tm_year, d.tm_mon, d.tm_mday)
self.backup_file = "backup/" + str(dt) + "_settings_backup.tar.gz"
self.session.open(Console, title = "Backup running", cmdlist = ["tar -czvf " + "/mnt/usb/" + self.backup_file + " /etc/enigma2/ /etc/network/interfaces /etc/wpa_supplicant.conf"], finishedCallback = self.backup_finished, closeOnSuccess = True)
+ else:
+ self.backup_file = None
+ self.backup_finished()
def backup_finished(self):
wizardfd = open("/mnt/usb/wizard.nfo", "w")