From 5ad84d6eb38b6fe75c2a23ad458064484a9cce0b Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Wed, 31 Jan 2024 11:11:52 +0100 Subject: [PATCH] tools/psoc6/mpy-psoc6.py: Fw-loader warning print. Signed-off-by: enriquezgarc --- tools/psoc6/mpy-psoc6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/psoc6/mpy-psoc6.py b/tools/psoc6/mpy-psoc6.py index c529ebb43efda..cd6cb42142a20 100644 --- a/tools/psoc6/mpy-psoc6.py +++ b/tools/psoc6/mpy-psoc6.py @@ -164,7 +164,7 @@ def parse_output_for_error(fwloader_stdout): fwloader_out_lines = fwloader_stdout.decode().split("\n") for line in fwloader_out_lines: if "Error" in line: - print("fw-loader output: \n" + str(fwloader_stdout).decode()) + print("fw-loader output: \n" + fwloader_stdout.decode()) print("Updating kitprog3 firmware...") fwloader_cmd = "fw-loader --update-kp3 all"