Skip to content
Snippets Groups Projects
Commit 56a83645 authored by Martin Mareš's avatar Martin Mareš
Browse files

export-pion: Místo názvu kola uvádíme jeho typ, není-li other

parent cfff6723
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ for pant, pion, ct, rnd in res: ...@@ -73,7 +73,7 @@ for pant, pion, ct, rnd in res:
rocnik=str(rnd.year), rocnik=str(rnd.year),
kategorie=rnd.category, kategorie=rnd.category,
kolo_seq=str(rnd.seq), kolo_seq=str(rnd.seq),
kolo=rnd.name, kolo=rnd.round_type.friendly_name() if rnd.round_type != db.RoundType.other else rnd.name,
misto=ct.place.name, misto=ct.place.name,
id_mista=str(ct.place.place_id), id_mista=str(ct.place.place_id),
nuts_mista=str(ct.place.nuts) if ct.place.nuts else "", nuts_mista=str(ct.place.nuts) if ct.place.nuts else "",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment