Flake8 not happy
This commit is contained in:
parent
1db76a8ab0
commit
be14909601
4
app.py
4
app.py
|
@ -7,6 +7,8 @@ from flask import Flask, render_template
|
||||||
from config import AIRPORT as airport
|
from config import AIRPORT as airport
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello_world():
|
def hello_world():
|
||||||
rawdata = datapull.grabber()
|
rawdata = datapull.grabber()
|
||||||
|
@ -16,4 +18,4 @@ def hello_world():
|
||||||
@app.route("/style.css")
|
@app.route("/style.css")
|
||||||
def style():
|
def style():
|
||||||
with open("static/style.css", "r") as f:
|
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'}
|
||||||
|
|
Loading…
Reference in a new issue