Skip to content

Commit

Permalink
Merge pull request #169 from TopRichard/eessi-bot
Browse files Browse the repository at this point in the history
modifying code to consider all jobs by job manager
  • Loading branch information
trz42 authored Mar 20, 2023
2 parents 7964064 + 3c7388c commit feb7493
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 feb7493

Please sign in to comment.