[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-06-10 07:36:42 +00:00
parent 3915cbf039
commit e6ba8015ee
3 changed files with 9 additions and 6 deletions

View file

@ -3,12 +3,13 @@ from flask import render_template
frontend = Blueprint("frontend", __name__, template_folder="templates")
#Returns "index.html" from the frontend folder when "/" accessed by the user
# Returns "index.html" from the frontend folder when "/" accessed by the user
@frontend.route("/")
def index():
return render_template("frontend/index.html")
#Returns "missing_template.html" when "/missing" is accessed by the user
# Returns "missing_template.html" when "/missing" is accessed by the user
@frontend.route("/missing")
def missing_template():
return render_template("missing_template.html")

View file

@ -2,7 +2,7 @@ from flask import Flask
app = Flask(__name__)
#Returns "Hello World!" when "/" is accessed by the user
# Returns "Hello World!" when "/" is accessed by the user
@app.route("/")
def hello():
return "Hello World!"