update hotfix

This commit is contained in:
Wolfang Torres
2026-06-07 00:36:21 +08:00
parent 9be033535b
commit 3bb0caa64d
3 changed files with 21 additions and 4 deletions

View File

@@ -1,7 +1,13 @@
# Pip
from flask import Blueprint, render_template, request
mainapp = Blueprint("mainapp", __name__, template_folder="templates", url_prefix="/app", static_folder="static")
mainapp = Blueprint(
"mainapp",
__name__,
template_folder="templates",
url_prefix="/app",
static_folder="static",
)
@mainapp.route("/", methods=["GET", "POST"])
@@ -18,7 +24,7 @@ def show():
print(deck_type, language, output_type)
print()
state = "complete"
elif request.method == "POST":
elif request.method == "POST":
state = "ready"
form = request.form.to_dict()