Fix Sergueyillou
This commit is contained in:
@@ -38,7 +38,8 @@ def get_leaderboard():
|
|||||||
@app.route('/questions')
|
@app.route('/questions')
|
||||||
def show_questions():
|
def show_questions():
|
||||||
with open('./data/quizz.json', 'r') as file:
|
with open('./data/quizz.json', 'r') as file:
|
||||||
questions = json.load(file)["outils_list"]
|
#questions = json.load(file)["outils_list"]
|
||||||
|
questions = json.load(file)
|
||||||
return render_template('quiz.html', questions=questions)
|
return render_template('quiz.html', questions=questions)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user