One more keyword workaround.

This commit is contained in:
Ilja Honkonen 2021-03-23 16:07:02 +02:00
parent d5d3f7423f
commit c54865eef4

View File

@ -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: