summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-05-18 12:25:52 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-05-18 12:37:35 (GMT)
commit444b16fc1e9d4bb92f75ce6246e930b281131d8f (patch)
treebb45f566cf1c0b03b251f41e3a68649c24f14d2a
parent876687f5484eb5139d34896978186159f5b3200c (diff)
downloadcombo-plugin-gnm-444b16fc1e9d4bb92f75ce6246e930b281131d8f.zip
combo-plugin-gnm-444b16fc1e9d4bb92f75ce6246e930b281131d8f.tar.gz
combo-plugin-gnm-444b16fc1e9d4bb92f75ce6246e930b281131d8f.tar.bz2
pass credentials to get TCL realtime data
-rw-r--r--debian/50gnm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/50gnm.py b/debian/50gnm.py
index 6d8278c..0f8056e 100644
--- a/debian/50gnm.py
+++ b/debian/50gnm.py
@@ -64,7 +64,7 @@ COMBO_PUBLIC_TEMPLATES.update({
JSON_CELL_TYPES = {
"velov": {
- "url": "https://download.data.grandlyon.com/ws/rdata/jcd_jcdecaux.jcdvelov/all.json?field=gid&value=[gid]",
+ "url": "https://%(data_username)s:%(data_password)s@download.data.grandlyon.com/ws/rdata/jcd_jcdecaux.jcdvelov/all.json?field=gid&value=[gid]" % DATA_CREDENTIALS,
"name": u"Velov",
"cache_duration": 60,
"force_async": False,