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)
|
||||
else:
|
||||
res = self.getstr(option, section)
|
||||
except NoOptionError, NoSectionError:
|
||||
except( NoOptionError, NoSectionError):
|
||||
return default
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in a new issue