tools/makemanifest.py: Make str conversion compatible with Python 2.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-12-15 16:51:08 +11:00
parent 9aa151e3f3
commit 598618e8cf

View file

@ -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 = (