Flake8 not happy

This commit is contained in:
Arnold Dechamps 2024-03-20 02:06:52 +01:00
parent 1db76a8ab0
commit be14909601
No known key found for this signature in database
GPG key ID: AE66543374E41C89

4
app.py
View file

@ -7,6 +7,8 @@ from flask import Flask, render_template
from config import AIRPORT as airport
app = Flask(__name__)
@app.route("/")
def hello_world():
rawdata = datapull.grabber()
@ -16,4 +18,4 @@ def hello_world():
@app.route("/style.css")
def style():
with open("static/style.css", "r") as f:
return f.read(), 200, {'Content-Type': 'text/css; charset=utf-8'}
return f.read(), 200, {'Content-Type': 'text/css; charset=utf-8'}