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

FIX: typo

parent ef707da8
No related branches found
No related tags found
2 merge requests!160STY: styling,!131Accept references of children
Pipeline #40927 failed
......@@ -43,7 +43,7 @@ logger = logging.getLogger(__name__)
def get_children_of_rt(rtname):
"""Supply the name of a recordtype. This name and the name of all children RTs are returned in
a list"""
return [p.name for p in db.execute_query(f"FIND RECORDTYPE {givenrt}")]
return [p.name for p in db.execute_query(f"FIND RECORDTYPE {rtname}")]
def convert_value(value: Any):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment