summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-08-20 15:31:49 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-08-20 15:31:49 (GMT)
commit7907c17b4f17ae9ece93408181ae02d3752ba3ac (patch)
tree8bff44c1108024c71d856592549adde64d3037fc
parent0f5fc1ca0897161b4a5f25cbc93be616ab4293b0 (diff)
downloadcombo-plugin-gnm-7907c17b4f17ae9ece93408181ae02d3752ba3ac.zip
combo-plugin-gnm-7907c17b4f17ae9ece93408181ae02d3752ba3ac.tar.gz
combo-plugin-gnm-7907c17b4f17ae9ece93408181ae02d3752ba3ac.tar.bz2
debian: get cityway user key from hobo settings
-rw-r--r--debian/50gnm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/50gnm.py b/debian/50gnm.py
index 1b7df01..e20be0a 100644
--- a/debian/50gnm.py
+++ b/debian/50gnm.py
@@ -295,7 +295,7 @@ JSON_CELL_TYPES = {
]
},
"goto": {
- "url": "{% if lat1 %}{{cityway_api_url}}api/journeyplanner/opt/PlanTrips/json?DepartureType=COORDINATES&DepartureLatitude={{lat1}}&DepartureLongitude={{lng1}}&ArrivalType=COORDINATES&ArrivalLatitude={{lat2}}&ArrivalLongitude={{lng2}}&Date={{date}}&DateType=DEPARTURE&TripModes={{tripmode}}&Algorithm=FASTEST&BikeSecurityLevel=None&BikeSpeed=12&WalkSpeed=4&MaxCarDistance=100&MaxBikeDistance=100&MaxWalkDistance=3000&AvoidDisruptions=1&StopToPlaceCar=1&SpecificOptions=GetOn;3|GetOff;4|TinyDistance;300|VLS;1|CARSHARING;0&user_key=1fd5db9effbb01c36424ef76463cdda0{% endif %}",
+ "url": "{% if lat1 %}{{cityway_api_url}}api/journeyplanner/opt/PlanTrips/json?DepartureType=COORDINATES&DepartureLatitude={{lat1}}&DepartureLongitude={{lng1}}&ArrivalType=COORDINATES&ArrivalLatitude={{lat2}}&ArrivalLongitude={{lng2}}&Date={{date}}&DateType=DEPARTURE&TripModes={{tripmode}}&Algorithm=FASTEST&BikeSecurityLevel=None&BikeSpeed=12&WalkSpeed=4&MaxCarDistance=100&MaxBikeDistance=100&MaxWalkDistance=3000&AvoidDisruptions=1&StopToPlaceCar=1&SpecificOptions=GetOn;3|GetOff;4|TinyDistance;300|VLS;1|CARSHARING;0&user_key={{cityway_api_userkey}}{% endif %}",
"cache_duration": 60,
"force_async": False,
"name": u"M'y rendre",