From 7730fb5c46615112399d9da0b2122385f71afd6f Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Wed, 29 May 2024 13:12:21 +0200 Subject: [PATCH] Fix error message when config is missing --- wmn/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmn/common.py b/wmn/common.py index 20df6c0..51ddf97 100644 --- a/wmn/common.py +++ b/wmn/common.py @@ -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