From c46175c24b8c88377816ce0a7dfc56719bf4fe74 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 26 Mar 2024 16:33:43 +0100 Subject: [PATCH] python ccxt --- dabo/functions/ccxt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dabo/functions/ccxt.sh b/dabo/functions/ccxt.sh index 1ff2eb0..9fffc28 100644 --- a/dabo/functions/ccxt.sh +++ b/dabo/functions/ccxt.sh @@ -7,10 +7,11 @@ function f_ccxt { return 1 fi + unset g_ccxt_jobs local g_ccxt_jobs mapfile -t g_ccxt_jobs < <(jobs -r) # Initialize ccxt in python - if [[ ${g_python_jobs[*]} != python-pipeexec.py ]] || [ -z "$f_ccxt_initialized" ] + if [[ ${g_ccxt_jobs[*]} != *python-pipeexec.py* ]] || [ -z "$f_ccxt_initialized" ] then unset f_ccxt_initialized g_python 'import os' || return 1