Skip to content

Commit

Permalink
fixes buggy convertion of string to unicode (closes PokemonGoF#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascamata committed Jul 26, 2016
1 parent c4c3487 commit 4555466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _set_starting_position(self):

if self.config.location:
try:
location_str = u'{}'.format(self.config.location)
location_str = u'{}'.format(str(self.config.location))
location = (self._get_pos_by_name(location_str.replace(" ", "")))
self.position = location
self.api.set_position(*self.position)
Expand Down

0 comments on commit 4555466

Please sign in to comment.