From 53d8dab86fff25b800951285e53b1ca1425d914e Mon Sep 17 00:00:00 2001 From: Wilhelm Schuster Date: Sun, 27 Oct 2024 05:43:21 +0100 Subject: [PATCH] console: Adjust format string for could-not-connect message (#181) --- qmk_cli/subcommands/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmk_cli/subcommands/console.py b/qmk_cli/subcommands/console.py index b162ece..0d8e62f 100644 --- a/qmk_cli/subcommands/console.py +++ b/qmk_cli/subcommands/console.py @@ -184,7 +184,7 @@ def run_forever(self): except Exception as e: device['e'] = e device['e_name'] = e.__class__.__name__ - cli.log.error("Could not connect to %(color)s%(manufacturer_string)s %(product_string)s{style_reset_all} (%(color)s:%(vendor_id)04X:%(product_id)04X:%(index)d): %(e_name)s: %(e)s", device) + cli.log.error("Could not connect to %(color)s%(manufacturer_string)s %(product_string)s{style_reset_all} (%(color)s%(vendor_id)04X:%(product_id)04X:%(index)d{style_reset_all}): %(e_name)s: %(e)s", device) if cli.config.general.verbose: cli.log.exception(e) del live_devices[device['path']]