confighelper: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-07 10:29:24 -04:00
parent 9b0aec378e
commit 327441fd6b
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class ConfigHelper:
def read_supplemental_dict(self, obj: Dict[str, Any]) -> ConfigHelper:
if not obj:
raise ConfigError(f"Cannot ready Empty Dict")
raise ConfigError("Cannot ready Empty Dict")
source = DictSourceWrapper()
source.read_dict(obj)
sections = source.config.sections()