dalf преди 10 години
родител
ревизия
9d537c0bad
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      searx/engines/kickass.py

+ 1
- 1
searx/engines/kickass.py Целия файл

@@ -47,7 +47,7 @@ def response(resp):
47 47
 
48 48
     # check if redirect comparing to the True value,
49 49
     # because resp can be a Mock object, and any attribut name returns something.
50
-    if resp.is_redirect == True:
50
+    if resp.is_redirect is True:
51 51
         return results
52 52
 
53 53
     dom = html.fromstring(resp.text)