mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] pep8
This commit is contained in:
		
							parent
							
								
									c2951e16a5
								
							
						
					
					
						commit
						693415c787
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -10,6 +10,7 @@ ua_versions = ('26.0', '27.0', '28.0')
 | 
				
			||||||
ua_os = ('Windows NT 6.3; WOW64', 'X11; Linux x86_64; rv:26.0')
 | 
					ua_os = ('Windows NT 6.3; WOW64', 'X11; Linux x86_64; rv:26.0')
 | 
				
			||||||
ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
 | 
					ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def gen_useragent():
 | 
					def gen_useragent():
 | 
				
			||||||
    # TODO
 | 
					    # TODO
 | 
				
			||||||
    return ua.format(os=choice(ua_os), version=choice(ua_versions))
 | 
					    return ua.format(os=choice(ua_os), version=choice(ua_versions))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue