Fix an error introduced in the last commit
This commit is contained in:
parent
1b48f9e63d
commit
038e61068a
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class Config(RawConfigParser):
|
|||
else:
|
||||
res = self.getstr(option, section)
|
||||
except (NoOptionError, NoSectionError, ValueError, AttributeError):
|
||||
return default or ''
|
||||
return default if default is not None else ''
|
||||
|
||||
if res is None:
|
||||
return default
|
||||
|
|
Loading…
Reference in a new issue