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
|
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:
|
||||||
|
|
Loading…
Reference in a new issue