diff --git a/searx/webapp.py b/searx/webapp.py index 295f6f9f..2bf3afaf 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -425,7 +425,6 @@ def preferences(): @app.route('/stats', methods=['GET']) def stats(): """Render engine statistics page.""" - global categories stats = get_engines_stats() return render( 'stats.html',