program xml: strip string in address
This commit is contained in:
parent
afedd6635b
commit
df5e986fef
|
@ -184,7 +184,7 @@ class Program:
|
||||||
</conference>
|
</conference>
|
||||||
""" % {
|
""" % {
|
||||||
'title': self.site.name,
|
'title': self.site.name,
|
||||||
'venue': ', '.join(conference.venue.split('\n')),
|
'venue': ', '.join(map(lambda x: x.strip(), conference.venue.split('\n'))),
|
||||||
'city': conference.city,
|
'city': conference.city,
|
||||||
'start_date': sorted(self.days.keys())[0].strftime('%Y-%m-%d'),
|
'start_date': sorted(self.days.keys())[0].strftime('%Y-%m-%d'),
|
||||||
'end_date': sorted(self.days.keys(), reverse=True)[0].strftime('%Y-%m-%d'),
|
'end_date': sorted(self.days.keys(), reverse=True)[0].strftime('%Y-%m-%d'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user