From e03d803ae0ead191339675954c8945f43bc5e0b8 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Fri, 20 Nov 2015 22:47:52 +0100 Subject: [PATCH] [wolframalpha] Servers take a long times to respond theses days :( --- modules/wolframalpha.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wolframalpha.py b/modules/wolframalpha.py index a83b500..1d09c5b 100644 --- a/modules/wolframalpha.py +++ b/modules/wolframalpha.py @@ -33,7 +33,8 @@ def load(context): class WFAResults: def __init__(self, terms): - self.wfares = web.getXML(URL_API % quote(terms)) + self.wfares = web.getXML(URL_API % quote(terms), + timeout=12) @property