diff --git a/gaboshlib/g_python.sh b/gaboshlib/g_python.sh index a83e5d5..0085313 100644 --- a/gaboshlib/g_python.sh +++ b/gaboshlib/g_python.sh @@ -6,7 +6,7 @@ function g_python { local g_python_error=${g_python_tmp}/python-error local g_python_jobs mapfile -t g_python_jobs < <(jobs -r) - + unset g_python_result # Use python in backround for multiple python commands running much faster #if [ -z "${g_python_running}" ] @@ -39,7 +39,6 @@ function g_python { # Check for output if [ -s ${g_python_out} ] then - unset g_python_result mapfile -t g_python_result <${g_python_out} if [[ ${g_python_result[-1]} == DONE ]] then