aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-20 19:05:50 +0000
committerGravatar jesopo2019-01-20 19:05:50 +0000
commitc6545ca8479710a5de392fa85559751927f9372d (patch)
treec088eb5d4cd5dffd4421ccefc1f9cfe1e3669bf3
parentGracefully handle a timeout (wolframalpha) (diff)
signature
Use the correct namespace for HTTPTimeoutException (wolframalpha)
-rw-r--r--modules/wolframalpha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wolframalpha.py b/modules/wolframalpha.py
index bbf66f3b..62b0ad79 100644
--- a/modules/wolframalpha.py
+++ b/modules/wolframalpha.py
@@ -19,7 +19,7 @@ class Module(ModuleManager.BaseModule):
get_params={"i": event["args"],
"appid": self.bot.config["wolframalpha-api-key"],
"reinterpret": "true", "units": "metric"}, code=True)
- except HTTPTimeoutException:
+ except utils.http.HTTPTimeoutException:
page = None
if page: