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
|
||||
|
||||
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'}
|
||||
|
|
Loading…
Reference in a new issue