One more keyword workaround.
This commit is contained in:
parent
d5d3f7423f
commit
c54865eef4
|
@ -68,8 +68,12 @@ class BMConfigParser(ConfigParser.SafeConfigParser):
|
|||
# pylint: disable=arguments-differ
|
||||
try:
|
||||
if section == "bitmessagesettings" and option == "timeformat":
|
||||
try:
|
||||
return ConfigParser.ConfigParser.get(
|
||||
self, section, option, raw=raw, vars=vars, fallback=fallback)
|
||||
except TypeError:
|
||||
return ConfigParser.ConfigParser.get(
|
||||
self, section, option, raw=raw, vars=vars)
|
||||
try:
|
||||
return self._temp[section][option]
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user