From 1ea9438f5dcc190129298c1030ea75309be057e8 Mon Sep 17 00:00:00 2001 From: Venca24 Date: Sat, 17 Mar 2018 13:56:46 +0100 Subject: [PATCH] [fix] hash plugin --- searx/plugins/hash_plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/searx/plugins/hash_plugin.py b/searx/plugins/hash_plugin.py index 50d3b318..6a25a7b8 100644 --- a/searx/plugins/hash_plugin.py +++ b/searx/plugins/hash_plugin.py @@ -42,7 +42,6 @@ def post_search(request, search): # select hash function f = hashlib.new(function.lower()) - #f = hash_function[function.lower()] # make digest from the given string f.update(string.strip()) @@ -51,4 +50,4 @@ def post_search(request, search): # print result search.result_container.answers.clear() search.result_container.answers.add(function + " " + gettext('hash function') + ": " + digest) - return True \ No newline at end of file + return True