mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] hash plugin
This commit is contained in:
parent
c9593c8ffd
commit
1ea9438f5d
@ -42,7 +42,6 @@ def post_search(request, search):
|
|||||||
|
|
||||||
# select hash function
|
# select hash function
|
||||||
f = hashlib.new(function.lower())
|
f = hashlib.new(function.lower())
|
||||||
#f = hash_function[function.lower()]
|
|
||||||
|
|
||||||
# make digest from the given string
|
# make digest from the given string
|
||||||
f.update(string.strip())
|
f.update(string.strip())
|
||||||
|
Loading…
Reference in New Issue
Block a user