fix status val
This commit is contained in:
@@ -42,7 +42,7 @@ async def worker(worker_id: int, cfg: object, pool: object) -> None:
|
||||
|
||||
if record:
|
||||
id, unit_type, tool_type, unit_name, tool_name = [x.lower().replace(" ", "_") if isinstance(x, str) else x for x in record]
|
||||
tool_elab_info = await get_tool_info(fase, unit_name, tool_name, pool)
|
||||
tool_elab_info = await get_tool_info(fase, unit_name.upper(), tool_name.upper(), pool)
|
||||
if fase == WorkflowFlags.SENT_ELAB_DATA and tool_elab_info['ftp_send']:
|
||||
timestamp_matlab_elab = get_elab_timestamp(id, pool)
|
||||
if not tool_elab_info["duedate"] or tool_elab_info["duedate"] in ('0000-00-00 00:00:00', '') or tool_elab_info["duedate"] > timestamp_matlab_elab:
|
||||
|
||||
Reference in New Issue
Block a user