From 3de47c9762034bf5413dcdec4b023e21385a2d9d Mon Sep 17 00:00:00 2001 From: Lorenzo Tanganelli Date: Mon, 2 Dec 2024 09:33:14 +0000 Subject: [PATCH] fix sanity --- plugins/lookup/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lookup/api.py b/plugins/lookup/api.py index ae4d892..d04c83e 100644 --- a/plugins/lookup/api.py +++ b/plugins/lookup/api.py @@ -83,7 +83,7 @@ def run(self, terms, variables=None, **kwargs): if res is None: return [] - if type(res) is list: + if isinstance(res, list): return res return [res]