[SC64] Fixed building when commit message contained certain characters

This commit is contained in:
Mateusz Faderewski 2023-08-25 17:38:04 +02:00
parent bfd501dd8a
commit b68d4a4be0

View File

@ -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: