Venca24 6 anni fa
parent
commit
5518ae9d6d
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1
    2
      searx/plugins/hash_plugin.py

+ 1
- 2
searx/plugins/hash_plugin.py Vedi File

@@ -42,7 +42,6 @@ def post_search(request, search):
42 42
 
43 43
     # select hash function
44 44
     f = hashlib.new(function.lower())
45
-    #f = hash_function[function.lower()]
46 45
 
47 46
     # make digest from the given string
48 47
     f.update(string.strip())
@@ -51,4 +50,4 @@ def post_search(request, search):
51 50
     # print result
52 51
     search.result_container.answers.clear()
53 52
     search.result_container.answers.add(function + " " + gettext('hash function') + ": " + digest)
54
-    return True
53
+    return True