📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

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):
for table_field in record:
tablename, fieldname = decode_field(table_field)
if tablename == table:
fields[fieldname.encode("utf8")] = record[table_field]
fields[fieldname] = record[table_field]
data.errors.append(None)
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