Skip to content
Snippets Groups Projects
Commit eb6a119e authored by Martin Mareš's avatar Martin Mareš
Browse files

Protokoly nefungovaly v sekundárních kolech

parent d26a9910
Branches
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ def schedule_create_protocols(contest: db.Contest, site: Optional[db.Place], for
def _get_user_id_query(contest: db.Contest, site_id: Optional[int]) -> Query:
q = db.get_session().query(db.Participation.user_id).filter(
db.Participation.contest == contest,
db.Participation.contest == contest.master,
db.Participation.state.in_([db.PartState.active, db.PartState.disqualified]),
)
if site_id is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment