From 598618e8cf46ef716596bcf97d21a989c4ac15d3 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 15 Dec 2021 16:51:08 +1100 Subject: [PATCH] tools/makemanifest.py: Make str conversion compatible with Python 2. Signed-off-by: Damien George --- tools/makemanifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/makemanifest.py b/tools/makemanifest.py index 7897a83c6e..fc608ed449 100644 --- a/tools/makemanifest.py +++ b/tools/makemanifest.py @@ -347,7 +347,7 @@ def main(): ) if res != 0: print("error freezing mpy {}:".format(mpy_files)) - print(str(output_mpy, "utf8")) + print(output_mpy.decode()) sys.exit(1) else: output_mpy = (