From a49852710aeee6cb56259d5e8718b2eb1ae967a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vieira?= Date: Sat, 30 Jul 2016 12:04:00 +0100 Subject: [PATCH] Log location as a str We already have location as an encoded str in location_str and most calls to log pass a string as argument, so this is a bit more consistent. --- pokemongo_bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/__init__.py b/pokemongo_bot/__init__.py index a67d829a80..6c768871b8 100644 --- a/pokemongo_bot/__init__.py +++ b/pokemongo_bot/__init__.py @@ -453,7 +453,7 @@ def _set_starting_position(self): 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)) + logger.log('Location Found: {}'.format(location_str)) logger.log('GeoPosition: {}'.format(self.position)) logger.log('') has_position = True