lovecalculator hotfix ssl error

pull/150/head
bobloy 4 years ago
parent b210f4a9ff
commit 9440f34669

@ -33,7 +33,7 @@ class LoveCalculator(Cog):
x.replace(" ", "+"), y.replace(" ", "+")
)
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
resp = await response.text()

Loading…
Cancel
Save