Browse Source

[fix] pep8 compatibility

asciimoo 11 years ago
parent
commit
ba0f818e89
1 changed files with 3 additions and 3 deletions
  1. 3 3
      searx/webapp.py

+ 3 - 3
searx/webapp.py

@@ -252,9 +252,9 @@ def preferences():
                 max_age=60 * 60 * 24 * 7 * 4
                 max_age=60 * 60 * 24 * 7 * 4
             )
             )
         return resp
         return resp
-    return render('preferences.html'
+    return render('preferences.html',
-                  ,locales=settings['locales']
+                  locales=settings['locales'],
-                  ,current_locale=get_locale())
+                  current_locale=get_locale())
 
 
 
 
 @app.route('/stats', methods=['GET'])
 @app.route('/stats', methods=['GET'])