Skip to content

Commit

Permalink
syntax...
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Jul 8, 2024
1 parent 4935e2d commit 528f184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/miniconf-mqtt/miniconf/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ async def run():
devices = await discover(client, args.prefix)
if len(devices) != 1:
raise MiniconfException(
"Discover"
"Discover",
f"No unique Miniconf device (found `{devices}`). "
"Please specify a `--prefix`"
"Please specify a `--prefix`",
)
prefix = devices.pop()
logging.info("Found device prefix: %s", prefix)
Expand Down

0 comments on commit 528f184

Please sign in to comment.