Fix message
This commit is contained in:
@@ -35,8 +35,8 @@ class HereMapsBulkGeocoder(HereMapsGeocoder, StreetPointBulkGeocoder):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def _bulk_geocode(self, searches):
|
def _bulk_geocode(self, searches):
|
||||||
if len(searches) > self.MAX_STALLED_RETRIES:
|
if len(searches) > self.MAX_BATCH_SIZE:
|
||||||
raise "Batch size can't be larger than {}".format(self.MAX_STALLED_RETRIES)
|
raise "Batch size can't be larger than {}".format(self.MAX_BATCH_SIZE)
|
||||||
if self._should_use_batch(searches):
|
if self._should_use_batch(searches):
|
||||||
self._logger.debug('--> Batch geocode')
|
self._logger.debug('--> Batch geocode')
|
||||||
return self._batch_geocode(searches)
|
return self._batch_geocode(searches)
|
||||||
|
|||||||
Reference in New Issue
Block a user