diff --git a/pokemongo_bot/__init__.py b/pokemongo_bot/__init__.py index 061f4c734e..9285bd9dbb 100644 --- a/pokemongo_bot/__init__.py +++ b/pokemongo_bot/__init__.py @@ -441,12 +441,11 @@ def _set_starting_position(self): if self.config.location: try: - location_str = u'{}'.format(str(self.config.location)) + location_str = self.config.location.encode('utf-8') location = (self._get_pos_by_name(location_str.replace(" ", ""))) self.api.set_position(*location) logger.log('') - logger.log(u'Location Found: {}'.format(self.config.location.decode( - 'utf-8'))) + logger.log(u'Location Found: {}'.format(self.config.location)) logger.log('GeoPosition: {}'.format(self.position)) logger.log('') has_position = True