commit: 9d537c0bad5b68f9c83ea4ac026d22a27264b8dd
parent c4dd7c3a549e238c82a3274bb66ba17386076a10
Author: dalf <alex@al-f.net>
Date: Thu, 12 Feb 2015 14:50:41 +0100
[fix] kickass tests
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py
@@ -47,7 +47,7 @@ def response(resp):
# check if redirect comparing to the True value,
# because resp can be a Mock object, and any attribut name returns something.
- if resp.is_redirect == True:
+ if resp.is_redirect is True:
return results
dom = html.fromstring(resp.text)