diff options
author | Devaev Maxim <[email protected]> | 2019-06-28 18:59:36 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-06-28 18:59:36 +0300 |
commit | ef3c62a7af520673154233e2d3c89492ffec3195 (patch) | |
tree | 2b78c5918143eff8ef2c89484ac99fc6b7588438 /kvmd/apps/__init__.py | |
parent | ff270591b032cc1f8e342f20a04b84e5dbb31191 (diff) |
f-strings
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 589836a8..a2e21b84 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -119,7 +119,7 @@ def _init_config(config_path: str, sections: List[str], override_options: List[s return config except (ConfigError, UnknownPluginError) as err: - raise SystemExit("Config error: %s" % (str(err))) + raise SystemExit(f"Config error: {err}") def _dump_config(config: Section) -> None: |