5 Commits

2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ def _fetch_questions():
data_path = dataset.get_file() data_path = dataset.get_file()
with open(data_path, 'r') as data_file: with open(data_path, 'r') as data_file:
data = loads(data_file.read()) data = loads(data_file.read())
questions = generate_questions(data) questions = generate_questions(dataset=data, randomise=False)
return jsonify({ return jsonify({
'time_limit': end_time, 'time_limit': end_time,
'questions': questions, 'questions': questions,

View File

@@ -30,6 +30,7 @@ def _instructions():
@quiz.route('/start/', methods=['GET', 'POST']) @quiz.route('/start/', methods=['GET', 'POST'])
def _start(): def _start():
clubs = [ clubs = [
'Barrowland Bears Korfball Club',
'Dundee Korfball Club', 'Dundee Korfball Club',
'Edinburgh City Korfball Club', 'Edinburgh City Korfball Club',
'Edinburgh Mavericks Korfball Club', 'Edinburgh Mavericks Korfball Club',