lovecalculator hotfix ssl error
This commit is contained in:
parent
b210f4a9ff
commit
9440f34669
@ -33,7 +33,7 @@ class LoveCalculator(Cog):
|
|||||||
x.replace(" ", "+"), y.replace(" ", "+")
|
x.replace(" ", "+"), y.replace(" ", "+")
|
||||||
)
|
)
|
||||||
async with aiohttp.ClientSession(headers={"Connection": "keep-alive"}) as session:
|
async with aiohttp.ClientSession(headers={"Connection": "keep-alive"}) as session:
|
||||||
async with session.get(url) as response:
|
async with session.get(url, ssl=False) as response:
|
||||||
assert response.status == 200
|
assert response.status == 200
|
||||||
resp = await response.text()
|
resp = await response.text()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user