tehp / OpenPoGoBot

A PokemonGo Python bot - NO LONGER MAINTAINED
MIT License
123 stars 53 forks source link

_read_config_location pointing to wrong config location #320

Closed prophaner closed 8 years ago

prophaner commented 8 years ago

This def is getting the location_cache (bool value) instead of location (string)

should be like: def _read_config_location(self): self.position = self._get_pos_by_name(self.config["mapping"]["location"]) self.api_wrapper.set_position(*self.position) logger.log('') logger.log(u'[x] Address found: {}'.format(self.config["mapping"]["location"]))