Commit 3c61a753 authored by Romain Courteaud's avatar Romain Courteaud Committed by Rafael Monnerat

All ERP5 API should manage UTF-8, not unicode.

parent 827dc5dc
......@@ -16,7 +16,7 @@ except ValueError:
return
preference.setTitle(translateString('Preference for ${name}',
mapping=dict(name=context.getTitle().decode('utf-8'))))
mapping=dict(name=context.getTitle())))
for assignment in context.contentValues(portal_type='Assignment'):
group = assignment.getGroup(base=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment