diff options
| author | 2019-01-20 19:05:50 +0000 | |
|---|---|---|
| committer | 2019-01-20 19:05:50 +0000 | |
| commit | c6545ca8479710a5de392fa85559751927f9372d (patch) | |
| tree | c088eb5d4cd5dffd4421ccefc1f9cfe1e3669bf3 /modules | |
| parent | Gracefully handle a timeout (wolframalpha) (diff) | |
| signature | ||
Use the correct namespace for HTTPTimeoutException (wolframalpha)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wolframalpha.py | 2 |
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: |
