From c77842e1becfa458dac24d4137c47bf17748db27 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Fri, 17 Dec 2010 14:36:14 +0000 Subject: fixed #1892 save folded rosters and info_win_height in the config file --- src/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/config.py') diff --git a/src/config.py b/src/config.py index f85de1e2..685c8eb6 100644 --- a/src/config.py +++ b/src/config.py @@ -45,13 +45,13 @@ class Config(RawConfigParser): """ try: if type(default) == int: - res = self.getint(option) + res = self.getint(option, section) elif type(default) == float: - res = self.getfloat(option) + res = self.getfloat(option, section) elif type(default) == bool: - res = self.getboolean(option) + res = self.getboolean(option, section) else: - res = self.getstr(option) + res = self.getstr(option, section) except NoOptionError: return default return res -- cgit v1.2.3