Skip to content

Commit a921985

Browse files
committed
Don't choke on non-ASCII characters in agenda notes
- Legacy-Id: 1900
1 parent 8bb86c9 commit a921985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/iesg/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def agenda_docs(date, next_agenda):
126126
if section_key not in res:
127127
res[section_key] = []
128128
if id.note:
129-
id.note = str(id.note).replace("\240"," ")
129+
id.note = id.note.replace(u"\240",u" ")
130130
res[section_key].append({'obj':id})
131131
return res
132132

0 commit comments

Comments
 (0)