Fix crash when running without --flight flag and Unicode crash on Windows

- fly_embodied.py: fly_name was only assigned inside the `if args.flight`
  block but used unconditionally by the proboscis joint lookup. Added
  fly_name = fly.name before the proboscis section.
- benchmark.py: replaced Unicode checkmark/cross (U+2713/U+2717) with
  ASCII "OK"/"FAIL" to prevent encoding crash on Windows consoles.
This commit is contained in:
erojasoficial-byte
2026-03-12 22:27:47 -05:00
parent c4117987e7
commit 05974fefe0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ def print_summary_table(all_results, backend_name, logger):
for result in all_results:
t = result.get('timings', {})
status_icon = "\u2713" if result['status'] == 'success' else "\u2717"
status_icon = "OK" if result['status'] == 'success' else "FAIL"
setup_time = t.get(
'network_creation_total', t.get('model_setup_total', 0)