Fixed calling wrong function

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-03-12 16:07:10 +00:00
parent f5e0bc617c
commit be0d609bda

View file

@ -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)