Improve string formatting (#33643)
This commit is contained in:
1 parent
71a47fc80c
commit
ed71683488
10 files changed
+76
-76
No files matched your search
@@ -135,4 +135,4 @@ def generate(integrations: Dict[str, Integration], config: Config):
|
||||
"""Generate zeroconf file."""
|
||||
zeroconf_path = config.root / "homeassistant/generated/zeroconf.py"
|
||||
with open(str(zeroconf_path), "w") as fp:
|
||||
fp.write(config.cache["zeroconf"] + "\n")
|
||||
fp.write(f"{config.cache['zeroconf']}\n")
|
||||
Reference in new issue
Block a user