[webui] fix abort finish (#8569)

This commit is contained in:
Yaowei Zheng
2025-07-07 23:07:46 +08:00
committed by GitHub
parent 12ed792db9
commit 7f8e5f52f9
3 changed files with 23 additions and 16 deletions

View File

@@ -444,7 +444,7 @@ class Runner:
except TimeoutExpired:
continue
if return_code == 0:
if return_code == 0 or self.aborted:
finish_info = ALERTS["info_finished"][lang]
if self.do_train:
finish_log = ALERTS["info_finished"][lang] + "\n\n" + running_log