Explorar o código

move the file for the later distribution

Sven Czarnian %!s(int64=3) %!d(string=hai) anos
pai
achega
18577ebe9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>')