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

test-state: Stav "running" je ještě globální

Jinak nefunguje registrace.
parent 06ef397e
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ else: ...@@ -38,7 +38,7 @@ else:
rounds = sess.query(db.Round).all() rounds = sess.query(db.Round).all()
for r in rounds: for r in rounds:
if r.level > 0 and state not in [RoundState.preparing, RoundState.closed]: if r.level > 0 and state not in [RoundState.preparing, RoundState.running, RoundState.closed]:
r.state = RoundState.delegate r.state = RoundState.delegate
else: else:
r.state = state r.state = state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment