on master help sign in
[fix] hash plugin
commit1ea9438f5dcc190129298c1030ea75309be057e8 authorVenca24 <Vaclav.Zouzalik@seznam.cz> dateSat 17 Mar 2018, 13:56 (9 years ago) parentc9593c8
1 file changed+1−2
searx/plugins/hash_plugin.py+1−2
searx/plugins/hash_plugin.py+1−2
@@ -42,7 +42,6 @@ def post_search(request, search):
4242
4343 # select hash function
4444 f = hashlib.new(function.lower())
45− #f = hash_function[function.lower()]
4645
4746 # make digest from the given string
4847 f.update(string.strip())
@@ -51,4 +50,4 @@ def post_search(request, search):
5150 # print result
5251 search.result_container.answers.clear()
5352 search.result_container.answers.add(function + " " + gettext('hash function') + ": " + digest)
54− return True
53+ return True