From 886a2a66076bc625a6b5060353ac384639ca6093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Tue, 25 Apr 2023 09:18:37 +0100 Subject: [PATCH] feat: made boot dump python2 compatible --- res/boot/boot_dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/boot/boot_dump.py b/res/boot/boot_dump.py index 729cd154..202b1abc 100644 --- a/res/boot/boot_dump.py +++ b/res/boot/boot_dump.py @@ -8,7 +8,7 @@ def print_buffer(filename): try: data = file.read() finally: file.close() - buffer = [str(byte) for byte in data] + buffer = [str(ord(byte)) for byte in data] buffer_s = ", ".join(buffer) print("[%s]" % buffer_s) -- GitLab