From 2661ec08ab0120f785ff312f593e91e5f985b10a Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 16 Mar 2021 20:37:41 +0100 Subject: matching: a list is required --- fuzzycat/matching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py index 413665a..df9617b 100644 --- a/fuzzycat/matching.py +++ b/fuzzycat/matching.py @@ -65,7 +65,7 @@ def match_release_fuzzy( continue r = api.lookup_release(**{attr: value}) if r: - return r + return [r] body = { "query": { -- cgit v1.2.3