Stupid little error
parent
04ba084a5a
commit
739fd839e7
|
@ -139,7 +139,7 @@ def map_view():
|
||||||
def api_active_stations():
|
def api_active_stations():
|
||||||
sations = []
|
sations = []
|
||||||
for x in Stations:
|
for x in Stations:
|
||||||
sations.append([x["name"],[x["lat"],x["lng"]]])
|
sations.append([x["name"],{"lat":x["lat"],"lng":x["lng"]}])
|
||||||
return json.dumps(sations)
|
return json.dumps(sations)
|
||||||
|
|
||||||
@app.route('/stations_from_sat/<string:norad>')
|
@app.route('/stations_from_sat/<string:norad>')
|
||||||
|
|
Loading…
Reference in New Issue