From a9ba513ef6e86f446fbb7b310ef41a4acdbcae5c Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Tue, 30 Nov 2021 13:50:09 +0100 Subject: [PATCH] =?UTF-8?q?p-score=20um=C3=AD=20i=20dom=C3=A1c=C3=AD=20kol?= =?UTF-8?q?o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/p-score | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/p-score b/bin/p-score index 743f19a2..2cdafad0 100755 --- a/bin/p-score +++ b/bin/p-score @@ -40,7 +40,7 @@ def write_tex(round, tasks, contests, results): out.write('\n') for c in contests: res = results[c.place.get_code()] - if round.seq == 2: + if round.seq <= 2: out.write(r'\kraj{%s}' % c.place.name + '\n') if not res: out.write(r'\nobody' + '\n') @@ -89,7 +89,7 @@ def write_tex(round, tasks, contests, results): out.write("".join(['{' + str(col) + '}' for col in cols]) + '\n') out.write(r'\endtable' + '\n') - if round.seq == 2: + if round.seq <= 2: out.write(r'\endkraj' + '\n\n') -- GitLab