Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
0e8bbdd2
Commit
0e8bbdd2
authored
Nov 07, 2019
by
LE GAC Renaud
Browse files
Update dbsvc to remove encode('utf-8') in _prepare_record.
parent
d8652606
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/plugin_dbui/dbsvc.py
modules/plugin_dbui/dbsvc.py
+1
-1
No files found.
modules/plugin_dbui/dbsvc.py
View file @
0e8bbdd2
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment