Fix error message when config is missing
This commit is contained in:
parent
0ce9e81c86
commit
7730fb5c46
|
@ -56,7 +56,7 @@ def config_path() -> pathlib.Path:
|
|||
path = pathlib.Path(path)
|
||||
path = path.absolute().resolve()
|
||||
if not path.exists():
|
||||
raise RuntimeError("Cannot find config: " + path)
|
||||
raise RuntimeError(f"Cannot find config: {path}")
|
||||
return path
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue