From cb63edd9ff92ef54b7a06ff517a26ce2ba760c76 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 1 Nov 2023 20:36:16 +0000 Subject: [PATCH] Tidying --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'):