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: