From b68d4a4be0e3e5c8e05b03567a0e25d22024633a Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Fri, 25 Aug 2023 17:38:04 +0200 Subject: [PATCH] [SC64] Fixed building when commit message contained certain characters --- sw/tools/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/tools/update.py b/sw/tools/update.py index 3b0c338..625e5f6 100644 --- a/sw/tools/update.py +++ b/sw/tools/update.py @@ -226,7 +226,7 @@ if __name__ == "__main__": if (args.git): update_info += args.git print(update_info) - update.add_update_info(update_info.encode()) + update.add_update_info(update_info.encode(errors='replace')) if (args.mcu): with open(args.mcu, 'rb+') as f: