Skip to content
Snippets Groups Projects
Commit d238e03f authored by Pavel Yushchenko's avatar Pavel Yushchenko
Browse files

remove cast to list

parent 0de09846
No related merge requests found
......@@ -315,7 +315,7 @@ class OptionInput(InputTypeBase):
lexer.whitespace = ", "
# remove quotes
tokens = [x[1:-1].decode('utf8') for x in list(lexer)]
tokens = [x[1:-1].decode('utf8') for x in lexer]
# make list of (option_id, option_description), with description=id
return [(t, t) for t in tokens]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment