summaryrefslogtreecommitdiff
path: root/tools/makemanifest.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-12-15 16:51:08 +1100
committerDamien George <damien@micropython.org>2021-12-15 16:51:08 +1100
commit598618e8cf46ef716596bcf97d21a989c4ac15d3 (patch)
treec68bb607560f0cb1f3f14ed087faf53ec733df3e /tools/makemanifest.py
parent9aa151e3f355dea6e14d77053f40691365e60d96 (diff)
tools/makemanifest.py: Make str conversion compatible with Python 2.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/makemanifest.py')
-rw-r--r--tools/makemanifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/makemanifest.py b/tools/makemanifest.py
index 7897a83c6..fc608ed44 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 = (