Skip to content

Commit

Permalink
Swap auth and config position (#4909)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyaoyang authored and mjmadsen committed Aug 30, 2016
1 parent 734a0a3 commit d7cf555
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ pokebotpath=$(cd "$(dirname "$0")"; pwd)
auth=""
config=""
if [ ! -z $1 ]; then
auth=$1
config=$1
else
auth="./configs/auth.json"
config="./configs/config.json"
fi
if [ ! -z $2 ]; then
config=$2
auth=$2
else
config="./configs/config.json"
auth="./configs/auth.json"
fi
cd $pokebotpath
source bin/activate
Expand Down

0 comments on commit d7cf555

Please sign in to comment.