Commit 06324cc6 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

payroll: python3

parent f2c51104
from Products.ERP5Type.Utils import str2unicode
import unicodedata import unicodedata
data = unicodedata.normalize('NFKD', context.getTextContent().decode('utf-8')).encode('iso-8859-1', 'ignore') data = unicodedata.normalize('NFKD', str2unicode(context.getTextContent())).encode('iso-8859-1', 'ignore')
# Update sending mode "on the fly" # Update sending mode "on the fly"
dsn_line_list = data.split(b'\n') dsn_line_list = data.split(b'\n')
......
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