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)