From d458da17fd20a1aaed17132e929c96cb847b2ca5 Mon Sep 17 00:00:00 2001 From: vsc46128 vscuser Date: Wed, 21 Feb 2024 13:59:46 +0100 Subject: [PATCH] fix long line --- eessi_bot_job_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eessi_bot_job_manager.py b/eessi_bot_job_manager.py index 58f68fbe..ebb00fd6 100644 --- a/eessi_bot_job_manager.py +++ b/eessi_bot_job_manager.py @@ -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'