From 320f7dac63902374d5d47399f2e453fd2b6bc578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Sun, 2 Oct 2022 20:53:08 +0200 Subject: [PATCH] =?UTF-8?q?Zkr=C3=A1cen=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vysledkovky/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vysledkovky/utils.py b/vysledkovky/utils.py index b570baed..012c8609 100644 --- a/vysledkovky/utils.py +++ b/vysledkovky/utils.py @@ -296,7 +296,7 @@ class VysledkovkaCisla(Vysledkovka): @cached_property def temata_a_spol(self) -> list[m.Problem]: - if self.cislo.rocnik.rocnik < ROCNIK_ZRUSENI_TEMAT: + if self.rocnik.rocnik < ROCNIK_ZRUSENI_TEMAT: return self.hlavni_problemy else: return list(filter(self.ne_clanek_ne_konfera, self.hlavni_problemy))