From be0d609bdaa5b9da1d42cb12469bde9eaa4ba0d7 Mon Sep 17 00:00:00 2001 From: fly Date: Fri, 12 Mar 2021 16:07:10 +0000 Subject: [PATCH] Fixed calling wrong function Signed-off-by: fly --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index d585deb..69fc1d6 100644 --- a/common.py +++ b/common.py @@ -178,7 +178,7 @@ def api_get_job(action, api, token, none_exit=True): else: print("Unable to get job. Retrying in 60 seconds...") sleep(60) - ret = get_job(action, host, port, none_exit) + ret = api_get_job(action, api, token, none_exit) except IOError: print("Unable to get job. Retrying in 60 seconds...") sleep(60)