From 6fc03a26512166a6732572586ca11296a3864f99 Mon Sep 17 00:00:00 2001 From: BehleZebub <116460179+BehleZebub@users.noreply.github.com> Date: Sun, 30 Oct 2022 00:02:01 +0200 Subject: [PATCH] changed from python2 to python3 --- firmware/tools/make_bitmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/tools/make_bitmap.py b/firmware/tools/make_bitmap.py index 103a58c0..16920f38 100755 --- a/firmware/tools/make_bitmap.py +++ b/firmware/tools/make_bitmap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2016 Furrtek # @@ -42,7 +42,7 @@ def convert_png(file): rgb_im = im.convert('RGBA') if rgb_im.size[0] % 8 or rgb_im.size[1] % 8: - print(file + ": Size isn\'t a multiple of 8") + print((file + ": Size isn\'t a multiple of 8")) sys.exit(-1) name = path.basename(file).split(".")[0].lower(); @@ -112,4 +112,4 @@ f.write("\n") f.write("} /* namespace ui */\n\n") f.write("#endif/*__BITMAP_HPP__*/\n") -print("Converted " + str(count) + " files") +print(("Converted " + str(count) + " files"))