SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing...
authorMladen Horvat <acid-burn@opendreambox.org>
Wed, 9 Dec 2009 06:39:59 +0000 (07:39 +0100)
committerMladen Horvat <acid-burn@opendreambox.org>
Wed, 9 Dec 2009 06:39:59 +0000 (07:39 +0100)
This fixes #351

lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py

index 871f0a3..d9ccab5 100755 (executable)
@@ -66,6 +66,7 @@ class BackupScreen(Screen, ConfigListScreen):
                self.setTitle(_("Backup is running..."))
 
        def doBackup(self):
                self.setTitle(_("Backup is running..."))
 
        def doBackup(self):
+               configfile.save()
                try:
                        if (path.exists(self.backuppath) == False):
                                makedirs(self.backuppath)
                try:
                        if (path.exists(self.backuppath) == False):
                                makedirs(self.backuppath)