Fix bugu u exportu: end-year = 'None'
This commit is contained in:
parent
f57cf71b14
commit
73a594512c
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Resitel(SeminarModelBase):
|
|||
'gender': 'M' if self.pohlavi_muz else 'F',
|
||||
'born': self.datum_narozeni.isoformat() if self.datum_narozeni else '',
|
||||
'email': self.email,
|
||||
'end-year': self.rok_maturity,
|
||||
'end-year': self.rok_maturity or '',
|
||||
|
||||
# TODO(gavento): Adresa skoly, kdyz preferuje zasilani tam?
|
||||
'street': self.ulice,
|
||||
|
|
Loading…
Reference in a new issue