From 25af2f392e5a88feb892d7bb2c889256dd74abbb Mon Sep 17 00:00:00 2001 From: Mladen Horvat Date: Wed, 9 Dec 2009 07:39:59 +0100 Subject: [PATCH] SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing a backup, so now should all settings be saved before a backup is done and no gui restart is needed anymore. This fixes #351 --- .../Plugins/SystemPlugins/SoftwareManager/BackupRestore.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py index 871f0a30..d9ccab57 100755 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py @@ -66,6 +66,7 @@ class BackupScreen(Screen, ConfigListScreen): self.setTitle(_("Backup is running...")) def doBackup(self): + configfile.save() try: if (path.exists(self.backuppath) == False): makedirs(self.backuppath) -- 2.30.2