From 0117470ab523e83a1f37d6be40d0a997d394b5e6 Mon Sep 17 00:00:00 2001 From: stfujnkk <3365310020@qq.com> Date: Tue, 14 Jun 2022 21:53:20 +0800 Subject: [PATCH] =?UTF-8?q?WIP:[BugFix]:main.py:=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 3b3b3b7..7bbcdff 100644 --- a/app/main.py +++ b/app/main.py @@ -107,11 +107,11 @@ def mainpage(): essay = Essay() -@app.route('/goCroze', methods=['GET', 'POST']) +@app.route('/gocloze', methods=['GET', 'POST']) def go_ClozeTest(): if request.method == 'GET': essay._article_id += 1 - essay.create_crozeTest(essay) + essay.create_clozeTest(essay) return render_template('clozeTest.html', essay=essay, answers=None) if request.method == 'POST':