改为处理最后一个,修改api
This commit is contained in:
@ -39,8 +39,9 @@ class TaskService:
|
||||
# 处理当前任务
|
||||
current_task = self._process_current_task(artifact_list[-1])
|
||||
|
||||
|
||||
# 如果获取任务信息失败,则返回空结果
|
||||
if current_task is None:
|
||||
if current_task is None or not current_task.get("artifact_id"):
|
||||
return [], [], [], self.half_volume
|
||||
|
||||
# 根据F块情况处理任务
|
||||
|
||||
Reference in New Issue
Block a user