on master help sign in
[fix] pep8
commit693415c78707a2bb01bc952bd977292cc67a7f26 authorAdam Tauber <asciimoo@gmail.com> dateTue 4 Mar 2014, 19:26 (13 years ago) parentc2951e1
1 file changed+1
searx/utils.py+1
searx/utils.py+1
@@ -10,6 +10,7 @@ ua_versions = ('26.0', '27.0', '28.0')
1010ua_os = ('Windows NT 6.3; WOW64', 'X11; Linux x86_64; rv:26.0')
1111ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
1212
13+
1314def gen_useragent():
1415 # TODO
1516 return ua.format(os=choice(ua_os), version=choice(ua_versions))