aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-03-05 00:12:49 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-03-05 00:12:49 +0100
commit55526774d926e19f8e34e94262a9fc939ddf91fc (patch)
tree4537cf521b489424e9884ca4e83b13124680383d /lib/python
parent690b1b1a235752794a92e99bf513a6db01f42748 (diff)
parent2f95f50608f64e18a0513ac2e1b713a603db0498 (diff)
downloadenigma2-55526774d926e19f8e34e94262a9fc939ddf91fc.tar.gz
enigma2-55526774d926e19f8e34e94262a9fc939ddf91fc.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/Components/config.py3
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):