From c6545ca8479710a5de392fa85559751927f9372d Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 20 Jan 2019 19:05:50 +0000 Subject: [PATCH] Use the correct namespace for HTTPTimeoutException (wolframalpha) --- modules/wolframalpha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: