Revert "switch to using IRCBot.http_client() in title.py"

This reverts commit 748008cf36.
This commit is contained in:
jesopo 2019-09-11 18:08:37 +01:00
parent 748008cf36
commit ad45848abb

View file

@ -26,7 +26,7 @@ class Module(ModuleManager.BaseModule):
return None
try:
page = self.bot.http_client().request(url, parse=True)
page = utils.http.request(url, parse=True)
except utils.http.HTTPWrongContentTypeException:
return None
except Exception as e: