Fix trailing progress bar print when stopping a job in the ui

This commit is contained in:
Jaret Burkett
2026-07-22 10:11:08 -06:00
parent c4db100e17
commit e8573dad34
2 changed files with 16 additions and 3 deletions

7
run.py
View File

@@ -128,8 +128,11 @@ def main():
except Exception as e2:
print_acc(f"Error running on_error: {e2}")
if not args.recover:
print_end_message(jobs_completed, jobs_failed)
raise e
print_acc("")
print_acc("========================================")
print_acc("Job stopped")
print_acc("========================================")
sys.exit(0)
if __name__ == '__main__':