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':