summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-10 16:47:43 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-10 16:47:43 +0000
commitd2a4ecf9a5214b784720dd6a7b2ad79c298a05b9 (patch)
treed32bb1b64829405677d7a5fc5fbc0bc12cb7b3b8 /src/config.py
parentb9a05fe48a4a5221ff0e09d86268ef75ffb17baf (diff)
downloadpoezio-d2a4ecf9a5214b784720dd6a7b2ad79c298a05b9.tar.gz
poezio-d2a4ecf9a5214b784720dd6a7b2ad79c298a05b9.tar.bz2
poezio-d2a4ecf9a5214b784720dd6a7b2ad79c298a05b9.tar.xz
poezio-d2a4ecf9a5214b784720dd6a7b2ad79c298a05b9.zip
little cleanup
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.py b/src/config.py
index 4201be4d..57c3d90a 100644
--- a/src/config.py
+++ b/src/config.py
@@ -45,7 +45,7 @@ class Config(RawConfigParser):
elif type(default) == float:
res = self.getfloat(option)
elif type(default) == bool:
- res = self.getbool(option)
+ res = self.getboolean(option)
else:
res = self.getstr(option)
except NoOptionError:
@@ -75,7 +75,7 @@ class Config(RawConfigParser):
RawConfigParser.write(self, f)
f.close()
- def setAndSave(self, option, value):
+ def set_and_save(self, option, value):
self.set(option, value)
self.save()