mirror of
https://github.com/searx/searx
synced 2025-09-02 15:35:55 +00:00
Fix search error with query 'random sha256'
This commit is contained in:
@@ -37,7 +37,7 @@ def random_int():
|
|||||||
|
|
||||||
def random_sha256():
|
def random_sha256():
|
||||||
m = hashlib.sha256()
|
m = hashlib.sha256()
|
||||||
m.update(b''.join(random_characters()))
|
m.update(''.join(random_characters()).encode())
|
||||||
return unicode(m.hexdigest())
|
return unicode(m.hexdigest())
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user