From 3c7388c7d054e2f90dc7b3aa294bcb30a75572e0 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Mon, 20 Mar 2023 20:26:34 +0000 Subject: [PATCH] modifying code to consider all jobs by job manager --- eessi_bot_job_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eessi_bot_job_manager.py b/eessi_bot_job_manager.py index 3415ca19..2daa42dd 100644 --- a/eessi_bot_job_manager.py +++ b/eessi_bot_job_manager.py @@ -81,7 +81,7 @@ def get_current_jobs(self): for i in range(2, len(lines)): # assume lines 2 to len(lines) contain jobs job = lines[i].rstrip().split() - if len(job) == 9: + if len(job) >= 9: job_id = job[0] state = job[4] current_jobs[job_id] = {