Revert "switch to using IRCBot.http_client() in title.py"
This reverts commit 748008cf36
.
This commit is contained in:
parent
748008cf36
commit
ad45848abb
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue