use tornado for api requests
This commit is contained in:
parent
b6daa19d73
commit
ed7053c0cb
6 changed files with 265 additions and 98 deletions
7
ctl
7
ctl
|
|
@ -94,6 +94,13 @@ if [ "$1" == "update" ]; then
|
|||
python2 oml update_static > /dev/null
|
||||
exit
|
||||
fi
|
||||
if [ "$1" == "python" ]; then
|
||||
cd $BASE/$NAME
|
||||
echo `pwd`
|
||||
shift
|
||||
python2 $@
|
||||
exit $?
|
||||
fi
|
||||
|
||||
cd $BASE/$NAME
|
||||
python2 oml $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue