Skip to content

Commit

Permalink
fix sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
tanganellilore committed Dec 2, 2024
1 parent 0612624 commit 3de47c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/lookup/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 3de47c9

Please sign in to comment.