Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 1a5e6a4

Browse files
committed
Do not include flagged questions in practice
1 parent 6dbc304 commit 1a5e6a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/rs_practice.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,5 @@ def _get_qualified_questions(base_course, chapter_label, sub_chapter_label, db):
300300
)
301301
)
302302
& (db.questions.practice == True) # noqa: E712
303+
& (db.questions.review_flag == False)
303304
).select()

0 commit comments

Comments
 (0)