fix something

This commit is contained in:
Ing 2024-06-01 23:15:31 +08:00
parent 66eeb8bd8c
commit 9a9e2aa945

View File

@ -110,7 +110,7 @@ function modelMenu() {
--infobox "$(TEXT "Getting models ...")" 0 0 --infobox "$(TEXT "Getting models ...")" 0 0
fi fi
PS="$(readConfigEntriesArray "platforms" "${WORK_PATH}/platforms.yml" | sort)" PS="$(readConfigEntriesArray "platforms" "${WORK_PATH}/platforms.yml" | sort)"
MJ="$(python include/functions.py getmodels -p "${PS[*]}")" MJ="$(python ${WORK_PATH}/include/functions.py getmodels -p "${PS[*]}")"
if [ -z "${MJ}" -o "${MJ}" = "[]" ]; then if [ -z "${MJ}" -o "${MJ}" = "[]" ]; then
if _get_fastest synology.com >/dev/null 2>&1; then if _get_fastest synology.com >/dev/null 2>&1; then
DIALOG --title "$(TEXT "Model")" \ DIALOG --title "$(TEXT "Model")" \