summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-06-28 18:59:36 +0300
committerDevaev Maxim <[email protected]>2019-06-28 18:59:36 +0300
commitef3c62a7af520673154233e2d3c89492ffec3195 (patch)
tree2b78c5918143eff8ef2c89484ac99fc6b7588438 /kvmd/apps/__init__.py
parentff270591b032cc1f8e342f20a04b84e5dbb31191 (diff)
f-strings
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py2
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: