diff --git a/utils.py b/utils.py index f6c501362..60206c1fb 100644 --- a/utils.py +++ b/utils.py @@ -51,7 +51,7 @@ def get_attributed_to(field) -> str: """ if isinstance(field, str): return field - elif isinstance(field, list): + if isinstance(field, list): for attrib in field: if isinstance(attrib, dict): if attrib.get('type') and attrib.get('id'):