aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-03-16 20:37:41 +0100
committerMartin Czygan <martin.czygan@gmail.com>2021-03-16 20:37:41 +0100
commit2661ec08ab0120f785ff312f593e91e5f985b10a (patch)
treeeb6062f14d4888ee9c6a03e852b13f7a8abb44e1
parentb1f5d4fe1f32ceaaf7f380bb620ff2c742d5f356 (diff)
downloadfuzzycat-2661ec08ab0120f785ff312f593e91e5f985b10a.tar.gz
fuzzycat-2661ec08ab0120f785ff312f593e91e5f985b10a.zip
matching: a list is required
-rw-r--r--fuzzycat/matching.py2
1 files changed, 1 insertions, 1 deletions
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": {