From 954fa0b3323a1eba79f7e208a8d114fcd66950bc Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Wed, 21 Apr 2021 19:36:26 +0200
Subject: [PATCH] =?UTF-8?q?Pokus=20o=20import=20=C3=BA=C4=8Dastn=C3=ADk?=
 =?UTF-8?q?=C5=AF=20do=20sekund=C3=A1rn=C3=ADho=20kola=20sel=C5=BEe?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Nutno ještě dořešit v UI.

See also #199.
---
 mo/imports.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mo/imports.py b/mo/imports.py
index 2c7ceef5..27e5a099 100644
--- a/mo/imports.py
+++ b/mo/imports.py
@@ -469,6 +469,7 @@ class ContestImport(Import):
 
     def setup(self):
         assert self.round is not None
+        assert not self.round.is_subround()
 
     def import_row(self, r: mo.csv.Row):
         assert isinstance(r, ContestImportRow)
-- 
GitLab