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 return None
try: try:
page = self.bot.http_client().request(url, parse=True) page = utils.http.request(url, parse=True)
except utils.http.HTTPWrongContentTypeException: except utils.http.HTTPWrongContentTypeException:
return None return None
except Exception as e: except Exception as e: