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

Rights: Oprava kontroly práv na zobrazení zadání

parent 52320e4e
Branches
No related tags found
No related merge requests found
...@@ -356,7 +356,7 @@ class RoundRights(Rights): ...@@ -356,7 +356,7 @@ class RoundRights(Rights):
pion = (db.get_session().query(db.Participation) pion = (db.get_session().query(db.Participation)
.join(db.Contest, and_(db.Contest.round == self.round, db.Contest.contest_id == db.Participation.contest_id)) .join(db.Contest, and_(db.Contest.round == self.round, db.Contest.contest_id == db.Participation.contest_id))
.filter(db.Participation.place_id.in_(place_ids)) .filter(db.Participation.place_id.in_(place_ids))
.one_or_none()) .first())
if pion: if pion:
return True return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment