From 9d537c0bad5b68f9c83ea4ac026d22a27264b8dd Mon Sep 17 00:00:00 2001 From: dalf Date: Thu, 12 Feb 2015 14:50:41 +0100 Subject: [PATCH] [fix] kickass tests --- searx/engines/kickass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py index 8b7e24579..4e5a64350 100644 --- 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)