Commit 664f9d1b authored by Romain Courteaud's avatar Romain Courteaud

Fix select list usage when a string is provided

parent 7ffb16f6
......@@ -845,6 +845,10 @@ elif mode == \'search\':\n
# result_dict[\'_links\'][\'contents\'] = result_list\n
# \n
# else:\n
\n
# Cast to list if only one element is provided\n
if same_type(select_list, ""):\n
select_list = [select_list]\n
\n
for sql_document in sql_list:\n
try:\n
......
11
\ No newline at end of file
12
\ No newline at end of file
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