From 324c6f87e0a8506b5a0884024844d5d83fec2524 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 31 Jan 2010 03:42:25 +0000 Subject: fixed #1110 --- src/config.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/config.py') diff --git a/src/config.py b/src/config.py index 95f85c98..302716f6 100644 --- a/src/config.py +++ b/src/config.py @@ -48,9 +48,6 @@ class Config(RawConfigParser): else: res = self.getstr(option) except NoOptionError: - # TODO - # logger.info('No value found in config file "%s" from option [%s]. Defaulting to "%s"' \ - # % (self.file_name, option, default)) return default return res @@ -73,7 +70,7 @@ class Config(RawConfigParser): RawConfigParser.set(self, self.defsection, option, value) def save(self): - f = copen(self.filename, "w", "utf-8", "ignore") + f = open(self.file_name, "w") RawConfigParser.write(self, f) f.close() -- cgit v1.2.3