Skip to content

Commit 5763833

Browse files
committed
Revert pybabel changes
1 parent 69104af commit 5763833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mycodo/scripts/upgrade_commands.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ case "${1:-''}" in
120120
'compile-translations')
121121
printf "\n#### Compiling Translations\n"
122122
cd "${MYCODO_PATH}"/mycodo || return
123-
"${MYCODO_PATH}"/env/bin/python -m pybabel compile -d mycodo_flask/translations
123+
"${MYCODO_PATH}"/env/bin/pybabel compile -d mycodo_flask/translations
124124
;;
125125
'create-files-directories')
126126
printf "\n#### Creating files and directories\n"
@@ -770,7 +770,7 @@ case "${1:-''}" in
770770
'docker-compile-translations')
771771
printf "\n#### Compiling Translations\n"
772772
cd "${MYCODO_PATH}"/mycodo || exit
773-
"${MYCODO_PATH}"/env/bin/python -m pybabel compile -d mycodo_flask/translations
773+
"${MYCODO_PATH}"/env/bin/pybabel compile -d mycodo_flask/translations
774774
;;
775775
'docker-update-pip')
776776
printf "\n#### Updating pip\n"

0 commit comments

Comments
 (0)