Multiple fixes
This commit is contained in:
@@ -56,8 +56,10 @@ class HereMapsRoutingIsoline:
|
||||
if k.lower() in self.OPTIONAL_PARAMS}
|
||||
filtered_options.update(source)
|
||||
filtered_options.update(mode)
|
||||
filtered_options.update({'range': ",".join(data_range)})
|
||||
filtered_options.update({'range': ",".join(map(str, data_range))})
|
||||
filtered_options.update({'rangetype': range_type})
|
||||
filtered_options.update({'app_id': self._app_id})
|
||||
filtered_options.update({'app_code': self._app_code})
|
||||
|
||||
return filtered_options
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
from config import GeocoderConfig, InternalGeocoderConfig, ConfigException
|
||||
from config import GeocoderConfig, RoutingConfig, InternalGeocoderConfig, ConfigException
|
||||
from quota import QuotaService
|
||||
from user import UserMetricsService
|
||||
|
||||
@@ -32,7 +32,7 @@ class RoutingConfig(ServiceConfig):
|
||||
|
||||
def __init__(self, redis_connection, username, orgname=None,
|
||||
heremaps_app_id=None, heremaps_app_code=None):
|
||||
super(InternalGeocoderConfig, self).__init__(redis_connection,
|
||||
super(RoutingConfig, self).__init__(redis_connection,
|
||||
username, orgname)
|
||||
self._heremaps_app_id = heremaps_app_id
|
||||
self._heremaps_app_code = heremaps_app_code
|
||||
|
||||
Reference in New Issue
Block a user