From 80248d3c1d66e50ea5210773c78f9e018ebadbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dato=20Sim=C3=B3?= Date: Sat, 31 Aug 2024 20:13:39 -0300 Subject: [PATCH] Convert min_confidence param to string to appease mypy --- bookwyrm/connectors/abstract_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/connectors/abstract_connector.py b/bookwyrm/connectors/abstract_connector.py index aa8edbeae..4be10f466 100644 --- a/bookwyrm/connectors/abstract_connector.py +++ b/bookwyrm/connectors/abstract_connector.py @@ -86,7 +86,7 @@ class AbstractMinimalConnector(ABC): ), "User-Agent": USER_AGENT, } - params = {"min_confidence": min_confidence} + params = {"min_confidence": str(min_confidence)} try: async with session.get(url, headers=headers, params=params) as response: if not response.ok: