mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Fix search error with query 'random sha256'
This commit is contained in:
		
							parent
							
								
									1986b5ecac
								
							
						
					
					
						commit
						c3af520c33
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -37,7 +37,7 @@ def random_int():
 | 
			
		|||
 | 
			
		||||
def random_sha256():
 | 
			
		||||
    m = hashlib.sha256()
 | 
			
		||||
    m.update(b''.join(random_characters()))
 | 
			
		||||
    m.update(''.join(random_characters()).encode())
 | 
			
		||||
    return unicode(m.hexdigest())
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue