Ver código fonte

Update admin.sh

fix bug
EverYang 6 anos atrás
pai
commit
6c14b46ae6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      admin.sh

+ 1 - 0
admin.sh

@@ -71,6 +71,7 @@ function upgrade() {
 function migration() {
     echo "migration walle"
     echo "----------------"
+    source venv/bin/activate
     export FLASK_APP=waller.py
     flask db upgrade
     if [ $? == "0" ]; then