From be1490960166e8a35b076235abe60961e754a055 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Wed, 20 Mar 2024 02:06:52 +0100 Subject: [PATCH] Flake8 not happy --- app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index ad7cbe9..202a898 100644 --- a/app.py +++ b/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'} \ No newline at end of file + return f.read(), 200, {'Content-Type': 'text/css; charset=utf-8'}