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

create-contests: Konzistence hlášek

parent da61222a
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ if round.is_subround(): ...@@ -31,7 +31,7 @@ if round.is_subround():
# Pokud je to podkolo, kopírujeme soutěže z hlavního kola # Pokud je to podkolo, kopírujeme soutěže z hlavního kola
for mc in sess.query(db.Contest).filter_by(round=round.master): for mc in sess.query(db.Contest).filter_by(round=round.master):
r = mc.place r = mc.place
print(f"Zakládám {round.round_code()} pro místo {r.name} (podsoutěž)") print(f"{round.round_code()} pro místo {r.name}: zakládám (podsoutěž)")
if not args.dry_run: if not args.dry_run:
c = db.Contest(round=round, place=r, master=mc, state=state) c = db.Contest(round=round, place=r, master=mc, state=state)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment