Don't choke on non-ASCII characters in agenda notes
- Legacy-Id: 1900
This commit is contained in:
parent
8bb86c9f65
commit
a921985eb1
|
@ -126,7 +126,7 @@ def agenda_docs(date, next_agenda):
|
|||
if section_key not in res:
|
||||
res[section_key] = []
|
||||
if id.note:
|
||||
id.note = str(id.note).replace("\240"," ")
|
||||
id.note = id.note.replace(u"\240",u" ")
|
||||
res[section_key].append({'obj':id})
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in a new issue