From 3c8a8793e54d198ba0b1302de4f781c134e88392 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Sat, 18 Mar 2023 21:06:35 +0100 Subject: [PATCH] =?UTF-8?q?Pokud=20je=20kolo=20"po=20oblastech",=20nov?= =?UTF-8?q?=C4=9B=20zalo=C5=BEen=C3=A9=20sout=C4=9B=C5=BEe=20maj=C3=AD=20s?= =?UTF-8?q?tav=20"b=C4=9B=C5=BE=C3=AD"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To je o něco funkčnější než "připravuje se", ale chtělo by to lepší řešení. Viz Issue #338. --- mo/contests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo/contests.py b/mo/contests.py index 8c8cc61c..dad4ba3a 100644 --- a/mo/contests.py +++ b/mo/contests.py @@ -16,7 +16,7 @@ def add_contest(master_round: db.Round, place: db.Place, reason: str, gatekeeper if master_round.state != db.RoundState.delegate: state = master_round.state else: - state = db.RoundState.preparing + state = db.RoundState.running # Soutěž vytvoříme vždy v hlavním kole contest = db.Contest(round=master_round, place=place, state=state) -- GitLab