This commit is contained in:
Arnold Dechamps 2024-03-20 18:07:39 +01:00
parent 5c546cc2ec
commit 9c5a177c2b
No known key found for this signature in database
GPG key ID: AE66543374E41C89

2
app.py
View file

@ -14,7 +14,7 @@ app = Flask(__name__)
def hello_world():
localformat = "%H:%M"
rawdata = datapull.grabber()
airport={"name":"","icao":"", "iata":""}
airport = {"name": "", "icao": "", "iata": ""}
for flight in rawdata:
# Source Airport naming
airport["name"] = flight["origin"]["name"]