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

Merge branch 'master' of gitlab.kam.mff.cuni.cz:mj/mo-submit

parents 38b0d374 ce5e2a37
Branches
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ def change_user_to_org(user, reason: str):
if (db.get_session().query(db.Participation, db.Contest, db.Round)
.select_from(db.Participation)
.join(db.Contest)
.join(db.Round)
.filter(db.Participation.user == user)
.filter(db.Round.year == config.CURRENT_YEAR)
.count()):
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment