From 3018d4edb90213d578f1a8951e7f2d5bfc35d07e Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Sat, 7 Oct 2023 12:37:19 +0100 Subject: [PATCH] Update config.py with f string (#101333) Co-authored-by: Franck Nijhof --- homeassistant/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index 6a0425f971e..8d316eb773b 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -378,7 +378,9 @@ def _write_default_config(config_dir: str) -> bool: return True except OSError: - print("Unable to create default configuration file", config_path) # noqa: T201 + print( # noqa: T201 + f"Unable to create default configuration file {config_path}" + ) return False