normalize quoting
This commit is contained in:
parent
2b8cad744e
commit
2b8dd9f28d
2 changed files with 6 additions and 9 deletions
2
app.py
2
app.py
|
@ -15,7 +15,7 @@ def favicon():
|
|||
return send_from_directory(app.static_folder,"bus.svg")
|
||||
|
||||
data=requests.get("https://tarc.rideralerts.com/InfoPoint/rest/Routes/GetVisibleRoutes").json()
|
||||
routes=",".join(str(r.get('RouteId')) for r in data)
|
||||
routes=",".join(str(r.get("RouteId")) for r in data)
|
||||
|
||||
@app.route("/tarc.csv")
|
||||
@cache.cached(timeout=5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue