update hotfix
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user