Explorar el Código

move the file for the later distribution

Sven Czarnian hace 3 años
padre
commit
18577ebe9a
Se han modificado 1 ficheros con 1 adiciones y 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>')