Compare commits
2 Commits
2235539314
...
7c4a844101
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c4a844101 | |||
| 54e1653cb5 |
@@ -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(dataset:data, randomise:false)
|
questions = generate_questions(dataset=data, randomise=False)
|
||||||
return jsonify({
|
return jsonify({
|
||||||
'time_limit': end_time,
|
'time_limit': end_time,
|
||||||
'questions': questions,
|
'questions': questions,
|
||||||
|
|||||||
Reference in New Issue
Block a user