syntax

parent e6afe9d6
...@@ -52,7 +52,7 @@ class Config(RawConfigParser): ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment