Use the correct namespace for HTTPTimeoutException (wolframalpha)
This commit is contained in:
parent
65f9184a54
commit
c6545ca847
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
get_params={"i": event["args"],
|
get_params={"i": event["args"],
|
||||||
"appid": self.bot.config["wolframalpha-api-key"],
|
"appid": self.bot.config["wolframalpha-api-key"],
|
||||||
"reinterpret": "true", "units": "metric"}, code=True)
|
"reinterpret": "true", "units": "metric"}, code=True)
|
||||||
except HTTPTimeoutException:
|
except utils.http.HTTPTimeoutException:
|
||||||
page = None
|
page = None
|
||||||
|
|
||||||
if page:
|
if page:
|
||||||
|
|
Loading…
Reference in a new issue