Commit 0e8bbdd2 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update dbsvc to remove encode('utf-8') in _prepare_record.

parent d8652606
...@@ -339,7 +339,7 @@ class DbSvc(BaseSvc): ...@@ -339,7 +339,7 @@ class DbSvc(BaseSvc):
for table_field in record: for table_field in record:
tablename, fieldname = decode_field(table_field) tablename, fieldname = decode_field(table_field)
if tablename == table: if tablename == table:
fields[fieldname.encode("utf8")] = record[table_field] fields[fieldname] = record[table_field]
data.errors.append(None) data.errors.append(None)
data.records.append(fields) data.records.append(fields)
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