mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
f-strings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user