Skip to content

Commit

Permalink
keeping the account in the remote command response
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascamata committed Aug 10, 2016
1 parent 9c1a943 commit 61df52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/socketio_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def remote_control(sid, command):
@sio.on('bot:send_reply')
def request_reply(sid, response):
event = response.pop('command')
account = response.pop('account')
account = response['account']
event = "{}:{}".format(event, account)
sio.emit(event, response)

Expand Down

0 comments on commit 61df52f

Please sign in to comment.