mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Update config.py with f string (#101333)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
e25cf7cbab
commit
3018d4edb9
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user