Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robbcocco authored Jul 21, 2016
1 parent 2ef9467 commit 5e0d2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def handle(msg):
locTemp = command.split(' ', 1)
location = locTemp[1]
# running the shell command
os.system('python PokemonGo-Map-develop/runserver.py -a ptc -u %s -p %s -l "%s" -st %s -H %s -P %s >mapstd.txt 2>maperr.txt &' % (USER, PASS, location, STEP, HOST, PORT))
os.system('python PokemonGo-Map-develop/runserver.py -a ptc -u %s -p %s -l "%s" -st %s -ol -dg -H %s -P %s >mapstd.txt 2>maperr.txt &' % (USER, PASS, location, STEP, HOST, PORT))
# let the map load a minute
bot.sendMessage(chat_id, 'Wait a minute...')
time.sleep(60)
Expand Down

0 comments on commit 5e0d2b1

Please sign in to comment.