fix planning xml issue with tracks

This commit is contained in:
Élie Bouttier 2017-10-16 19:10:06 +02:00
parent ccde53f97f
commit e9d768f1d3
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class Program:
elt.text = talk.title
elt = ET.SubElement(talk_elt, 'subtitle')
elt = ET.SubElement(talk_elt, 'track')
elt.text = talk.track or ''
elt.text = str(talk.track) if talk.track else ''
elt = ET.SubElement(talk_elt, 'type')
elt.text = talk.category.label
elt = ET.SubElement(talk_elt, 'language')