diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-01-02 18:01:27 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-01-02 18:01:27 +0100 |
| commit | d8bb70354594dddb6ef28f6d41ce733bd9caf4e6 (patch) | |
| tree | 52c920121aea3b3b1c148c3e312fe64f685b2181 /lib/python | |
| parent | 0abc1f0d2cb05ee24dc6928ca6ddf573c03f5fd2 (diff) | |
| download | enigma2-d8bb70354594dddb6ef28f6d41ce733bd9caf4e6.tar.gz enigma2-d8bb70354594dddb6ef28f6d41ce733bd9caf4e6.zip | |
"finished" message also when skipping configuration backup
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py | 4 |
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") |
