Closed prophaner closed 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"]))
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"]))