Use the correct namespace for HTTPTimeoutException (wolframalpha)

This commit is contained in:
jesopo 2019-01-20 19:05:50 +00:00
parent 65f9184a54
commit c6545ca847

View file

@ -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: