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

Hotfix: Třidění skenů v sekundárních kolech

parent 5ade1cc5
No related branches found
No related tags found
No related merge requests found
......@@ -2041,7 +2041,7 @@ def org_contest_scans_process(ct_id: int, job_id: int, site_id: Optional[int] =
pages: List[db.ScanPage] = sess.query(db.ScanPage).filter_by(job_id=job_id).order_by('file_nr', 'page_nr').all()
tasks = sess.query(db.Task).filter(db.Task.task_id.in_(job.in_json['task_ids'])).order_by('code').all()
pion_query = sess.query(db.Participation).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