summaryrefslogtreecommitdiffstats
path: root/module/ConfigParser.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:16:31 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:16:31 +0200
commit869ea1524bede723e721b29a2b86a3ca66d5536f (patch)
tree82fa33395df09d1baedb379e9a833c880fd1159a /module/ConfigParser.py
parentfile version check, delete old configs! (diff)
downloadpyload-869ea1524bede723e721b29a2b86a3ca66d5536f.tar.xz
config parser fix, UploadedTo premium working
Diffstat (limited to 'module/ConfigParser.py')
-rw-r--r--module/ConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ConfigParser.py b/module/ConfigParser.py
index 49401416b..42dce1858 100644
--- a/module/ConfigParser.py
+++ b/module/ConfigParser.py
@@ -215,7 +215,7 @@ class ConfigParser:
def saveConfig(self, config, filename):
"""saves config to filename"""
with open(filename, "wb") as f:
- f.write("config: %i \n" % CONF_VERSION)
+ f.write("version: %i \n" % CONF_VERSION)
for section in config.iterkeys():
f.write('\n%s - "%s":\n' % (section, config[section]["desc"]))