Explorar el Código

[fix] remove ip plugin pre_search override - closes #275

Adam Tauber hace 10 años
padre
commit
a57a011e94
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0
    2
      searx/plugins/self_ip.py

+ 0
- 2
searx/plugins/self_ip.py Ver fichero

@@ -16,6 +16,4 @@ def pre_search(request, ctx):
16 16
             ip = request.remote_addr
17 17
         ctx['search'].answers.clear()
18 18
         ctx['search'].answers.add(ip)
19
-        # return False prevents exeecution of the original block
20
-        return False
21 19
     return True