diff options
author | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2018-03-17 13:56:46 +0100 |
---|---|---|
committer | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2020-10-23 21:25:10 +0200 |
commit | 1ea9438f5dcc190129298c1030ea75309be057e8 (patch) | |
tree | d20063071ad4358304a47956523500f609da66fd /searx/plugins/hash_plugin.py | |
parent | c9593c8ffd6c015d8a453287af9bbb7862342492 (diff) | |
download | searxng-1ea9438f5dcc190129298c1030ea75309be057e8.tar.gz searxng-1ea9438f5dcc190129298c1030ea75309be057e8.zip |
[fix] hash plugin
Diffstat (limited to 'searx/plugins/hash_plugin.py')
-rw-r--r-- | searx/plugins/hash_plugin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/plugins/hash_plugin.py b/searx/plugins/hash_plugin.py index 50d3b318e..6a25a7b89 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 |