Set the soft geocoding limit always

This commit is contained in:
Mario de Frutos 2016-01-21 18:04:08 +01:00
parent 4d0cabb429
commit af051e2ed5

View File

@ -86,7 +86,8 @@ class GeocoderConfig:
self._geocoding_quota = float(filtered_config[self.QUOTA_KEY])
self._heremaps_app_id = filtered_config[self.NOKIA_GEOCODER_APP_ID_KEY]
self._heremaps_app_code = filtered_config[self.NOKIA_GEOCODER_APP_CODE_KEY]
if filtered_config[self.SOFT_LIMIT_KEY] == 'true':
if filtered_config[self.SOFT_LIMIT_KEY].lower() == 'true':
self._soft_geocoding_limit = True
else:
self._soft_geocoding_limit = False