Skip to content

Commit

Permalink
fix long line
Browse files Browse the repository at this point in the history
  • Loading branch information
vsc46128 vscuser committed Feb 21, 2024
1 parent 75c00bb commit d458da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eessi_bot_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def get_current_jobs(self):

if squeue_exitcode != 0:
current_jobs = {}
log("The squeue command failed will try again in {} seconds".format(config.read_config()["job_manager"].get("poll_interval")))
poll_interval = config.read_config()["job_manager"].get("poll_interval")
log("The squeue command failed will try again in {} seconds".format(poll_interval))
return current_jobs

# create dictionary of jobs from output of 'squeue_cmd'
Expand Down

0 comments on commit d458da1

Please sign in to comment.