confighelper: fix linter errors
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
9b0aec378e
commit
327441fd6b
|
@ -420,7 +420,7 @@ class ConfigHelper:
|
||||||
|
|
||||||
def read_supplemental_dict(self, obj: Dict[str, Any]) -> ConfigHelper:
|
def read_supplemental_dict(self, obj: Dict[str, Any]) -> ConfigHelper:
|
||||||
if not obj:
|
if not obj:
|
||||||
raise ConfigError(f"Cannot ready Empty Dict")
|
raise ConfigError("Cannot ready Empty Dict")
|
||||||
source = DictSourceWrapper()
|
source = DictSourceWrapper()
|
||||||
source.read_dict(obj)
|
source.read_dict(obj)
|
||||||
sections = source.config.sections()
|
sections = source.config.sections()
|
||||||
|
|
Loading…
Reference in New Issue