Commit b315c0e4 authored by Jérome Perrin's avatar Jérome Perrin

listbox: py3

parent 42b200d2
...@@ -1257,7 +1257,7 @@ class ListBoxRenderer: ...@@ -1257,7 +1257,7 @@ class ListBoxRenderer:
params.setdefault('meta_type', meta_type_list) params.setdefault('meta_type', meta_type_list)
# Remove FileUpload parameters # Remove FileUpload parameters
for k, v in params.items(): for k, v in list(params.items()):
if k == "listbox": if k == "listbox":
# listbox can also contain useless parameters # listbox can also contain useless parameters
new_list = [] new_list = []
......
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