diff --git a/pokemongo_bot/__init__.py b/pokemongo_bot/__init__.py index 998f09cfd6..848bbdd9a3 100644 --- a/pokemongo_bot/__init__.py +++ b/pokemongo_bot/__init__.py @@ -521,7 +521,7 @@ def get_pos_by_name(self, location_name): # Check if the given location is already a coordinate. if ',' in location_name: possible_coordinates = re.findall( - "[-]?\d{1,3}[.]\d{6,7}", location_name + "[-]?\d{1,3}[.]\d{3,7}", location_name ) if len(possible_coordinates) == 2: # 2 matches, this must be a coordinate. We'll bypass the Google