From 9440f34669f3be869bd5b9d896e6c16a26984658 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 1 Oct 2020 09:14:46 -0400 Subject: [PATCH] lovecalculator hotfix ssl error --- lovecalculator/lovecalculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lovecalculator/lovecalculator.py b/lovecalculator/lovecalculator.py index 95e9f97..94b6d49 100644 --- a/lovecalculator/lovecalculator.py +++ b/lovecalculator/lovecalculator.py @@ -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()