Skip to content

Commit

Permalink
Update current location on next_loc (PokemonGoF#3323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Hu authored and andrewda committed Aug 4, 2016
1 parent bc25959 commit 8c699b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pogom/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def next_loc(self):
return 'bad parameters', 400
else:
self.location_queue.put((lat, lon, 0))
self.set_current_location((lat, lon, 0))
log.info('Changing next location: %s,%s', lat, lon)
return 'ok'

Expand Down

0 comments on commit 8c699b5

Please sign in to comment.