From 9ea84b285bf698ef81c3dd318e758f2ca8dfea63 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sat, 19 Oct 2013 20:44:35 +0200 Subject: [PATCH] [fix] better url comparison II. --- searx/engines/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index d07efe986..af2973138 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -97,7 +97,7 @@ def search(query, request, selected_engines): for new_res in results: if res['parsed_url'].netloc == new_res['parsed_url'].netloc and\ res['parsed_url'].path == new_res['parsed_url'].path and\ - res['parsed_url'].query == res['parsed_url'].query: + res['parsed_url'].query == new_res['parsed_url'].query: duplicated = new_res break if duplicated: