diff --git a/system/templates/osp.bat b/system/templates/osp.bat index 8987adc0f..f536086d7 100644 --- a/system/templates/osp.bat +++ b/system/templates/osp.bat @@ -543,6 +543,8 @@ goto end if "%2"=="" goto eargument call :strfind "%2" "Node-" if defined OSP_TMPVAL call :nodeadd node add %2 %3 & goto end +call :strfind "%2" "Python-" +if defined OSP_TMPVAL call :pythonadd python add %2 %3 & goto end set "OSP_TMPVAL=" set "OSP_TMP_NAME=%2" if not "%OSP_ADDONS_LIST%"=="" for %%a in (%OSP_ADDONS_LIST%) do ( @@ -569,6 +571,8 @@ goto end if "%2"=="" goto eargument call :strfind "%2" "Node-" if defined OSP_TMPVAL call :nodeuse node use %2 %3 & goto end +call :strfind "%2" "Python-" +if defined OSP_TMPVAL call :pythonuse python use %2 %3 & goto end set "OSP_TMP_NAME=%2" if not "%OSP_ADDONS_LIST%"=="" for %%a in (%OSP_ADDONS_LIST%) do ( if /i "%%a"=="%2" set "OSP_TMP_NAME=%%a"