Bläddra i källkod

move the file for the later distribution

Sven Czarnian 3 år sedan
förälder
incheckning
18577ebe9a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -36,7 +36,7 @@ def airports():
     for airport in aman.Workers:
         retval.append(airport.Icao)
 
-    data = json.dumps(retval, ensure_ascii=True)
+    data = json.dumps({ retval }, ensure_ascii=True)
     return Response(data, status=200, mimetype='application/json')
 
 @app.route('/aman/configuration/<icao>')