mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
Convert min_confidence param to string to appease mypy
This commit is contained in:
parent
6ec3783736
commit
80248d3c1d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue