Skip to content

Commit

Permalink
modifying code to consider all jobs by job manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Mar 20, 2023
1 parent 7964064 commit 3c7388c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eessi_bot_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit 3c7388c

Please sign in to comment.