Browse Source

[fix] kickass tests

dalf 10 years ago
parent
commit
9d537c0bad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/kickass.py

+ 1 - 1
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)