syntax
This commit is contained in:
parent
e6afe9d691
commit
80a1fac0fe
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class Config(RawConfigParser):
|
||||||
res = self.getboolean(option, section)
|
res = self.getboolean(option, section)
|
||||||
else:
|
else:
|
||||||
res = self.getstr(option, section)
|
res = self.getstr(option, section)
|
||||||
except NoOptionError, NoSectionError:
|
except( NoOptionError, NoSectionError):
|
||||||
return default
|
return default
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue