try to avoid any spurious Unicode items

This commit is contained in:
Helmut Merz 2014-10-29 08:44:40 +01:00
parent b7efdf6a33
commit 7b3065439a

View file

@ -58,6 +58,7 @@ class ExternalEditorView(object):
r.append('cookie:' + cookie)
r.append('')
r.append(fromUnicode(data))
r = [str(item) for item in r]
result = '\n'.join(r)
self.setHeaders(len(result))
return result