Oprava predchozi
This commit is contained in:
parent
010580648a
commit
21b66be1da
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ class Cislo(SeminarModelBase):
|
|||
|
||||
def predchozi(self):
|
||||
u"Vrací None, pokud je toto první"
|
||||
return self.relativni_v_rocniku(1)
|
||||
return self.relativni_v_rocniku(-1)
|
||||
|
||||
def relativni_v_rocniku(self, rel_index):
|
||||
u"Číslo o `index` dále v ročníku. None pokud neexistuje."
|
||||
|
|
Loading…
Reference in a new issue