Case insensitif for get_basis_data

This commit is contained in:
Thomas Applencourt 2015-03-25 19:57:52 +01:00
parent ce66ab2a93
commit a313b3e243
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class EMSL_local(object):
cmd_filter_ele = cond_sql_or("elt", elts) if elts else "(1)"
self.c.execute('''SELECT DISTINCT data from output_tab
WHERE name="{0}"
WHERE name LIKE "{0}"
AND ({1})'''.format(basis_name, cmd_filter_ele))
# We need to take i[0] because fetchall return a tuple [(value),...]