Skip to content
Snippets Groups Projects
Commit 90e94d85 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: typo and white space

parent 8b1c65c5
No related branches found
No related tags found
No related merge requests found
Pipeline #15819 passed
......@@ -58,7 +58,7 @@ def assure_name_format(name):
def check_reference_field(ent_id, recordtype):
if 1 != db.execute_query("COUNT {} WIHT id={}".format(
if 1 != db.execute_query("COUNT {} WITH id={}".format(
recordtype,
ent_id),
unique=True):
......@@ -188,6 +188,7 @@ def string_in_list(val, options, ignore_case=True):
ValueError
If val is not contained in options.
"""
if ignore_case:
val = val.lower()
options = [o.lower() for o in options]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment