mirror of https://github.com/Mai-with-u/MaiBot.git
Update scripts/run_lpmm.sh
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>pull/901/head
parent
58ceb3b911
commit
c23a82af70
|
|
@ -37,7 +37,7 @@ echo "============================"
|
||||||
run_python_script() {
|
run_python_script() {
|
||||||
local script_name=$1
|
local script_name=$1
|
||||||
echo "🔄 Running $script_name"
|
echo "🔄 Running $script_name"
|
||||||
if ! python3 "scripts/$script_name"; then
|
if ! python3 "$SCRIPTS_DIR/$script_name"; then
|
||||||
echo "❌ $script_name failed" >&2
|
echo "❌ $script_name failed" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue