Listening part 2.
This commit is contained in:
2
app.py
2
app.py
@@ -86,7 +86,7 @@ def get_listening_section_2_question():
|
||||
difficulty = request.args.get("difficulty", default=random.choice(difficulties))
|
||||
|
||||
if (len(req_exercises) == 0):
|
||||
req_exercises = random.sample(LISTENING_EXERCISE_TYPES, 2)
|
||||
req_exercises = random.sample(LISTENING_2_EXERCISE_TYPES, 2)
|
||||
|
||||
number_of_exercises_q = divide_number_into_parts(TOTAL_LISTENING_SECTION_2_EXERCISES, len(req_exercises))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user