python ccxt

This commit is contained in:
olli 2024-03-26 16:33:43 +01:00
parent 6189a7c7fe
commit c46175c24b

View File

@ -7,10 +7,11 @@ function f_ccxt {
return 1 return 1
fi fi
unset g_ccxt_jobs
local g_ccxt_jobs local g_ccxt_jobs
mapfile -t g_ccxt_jobs < <(jobs -r) mapfile -t g_ccxt_jobs < <(jobs -r)
# Initialize ccxt in python # 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 then
unset f_ccxt_initialized unset f_ccxt_initialized
g_python 'import os' || return 1 g_python 'import os' || return 1