From 748008cf360616752375f72e619f741a3b224a6a Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 11 Sep 2019 17:54:55 +0100 Subject: switch to using IRCBot.http_client() in title.py --- modules/title.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/title.py b/modules/title.py index dfaf691c..94b5f74f 100644 --- a/modules/title.py +++ b/modules/title.py @@ -26,7 +26,7 @@ class Module(ModuleManager.BaseModule): return None try: - page = utils.http.request(url, parse=True) + page = self.bot.http_client().request(url, parse=True) except utils.http.HTTPWrongContentTypeException: return None except Exception as e: -- cgit v1.3.1-10-gc9f91