Skip to content

Commit

Permalink
fix: f-string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman committed Aug 24, 2023
1 parent af5974d commit 8a5b148
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions custom_components/nexxtmove/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
NAME = manifest_data.get("name")
VERSION = manifest_data.get("version")
ISSUEURL = manifest_data.get("issue_tracker")
STARTUP = """
STARTUP = f"""
-------------------------------------------------------------------
{name}
Version: {version}
{NAME}
Version: {VERSION}
This is a custom component
If you have any issues with this you need to open an issue here:
{issueurl}
{ISSUEURL}
-------------------------------------------------------------------
""".format(
name=NAME, version=VERSION, issueurl=ISSUEURL
)
"""

0 comments on commit 8a5b148

Please sign in to comment.