diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-03-05 00:12:49 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-03-05 00:12:49 +0100 |
| commit | 55526774d926e19f8e34e94262a9fc939ddf91fc (patch) | |
| tree | 4537cf521b489424e9884ca4e83b13124680383d /lib/python/Components | |
| parent | 690b1b1a235752794a92e99bf513a6db01f42748 (diff) | |
| parent | 2f95f50608f64e18a0513ac2e1b713a603db0498 (diff) | |
| download | enigma2-55526774d926e19f8e34e94262a9fc939ddf91fc.tar.gz enigma2-55526774d926e19f8e34e94262a9fc939ddf91fc.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components')
| -rwxr-xr-x | lib/python/Components/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 79e99b03..4cc40633 100755 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -1614,8 +1614,9 @@ class Config(ConfigSubsection): self.setSavedValue(tree["config"]) def saveToFile(self, filename): + text = self.pickle() f = open(filename, "w") - f.write(self.pickle()) + f.write(text) f.close() def loadFromFile(self, filename): |
