[fix] kickass tests
commit9d537c0bad5b68f9c83ea4ac026d22a27264b8dd
authordalf <alex@al-f.net>
dateThu 12 Feb 2015, 14:50 (12 years ago)
parentc4dd7c3
searx/engines/kickass.py+1−1
@@ -47,7 +47,7 @@ def response(resp):
4747
4848 # check if redirect comparing to the True value,
4949 # 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:
5151 return results
5252
5353 dom = html.fromstring(resp.text)