@@ -73,7 +73,7 @@ babel = Babel(app)
7373global_favicons = []
7474for indice, theme in enumerate(themes):
7575 global_favicons.append([])
76− theme_img_path = searx_dir+"/static/"+theme+"/img/icons/"
76+ theme_img_path = searx_dir+"/static/themes/"+theme+"/img/icons/"
7777 for (dirpath, dirnames, filenames) in os.walk(theme_img_path):
7878 global_favicons[indice].extend(filenames)
7979
@@ -506,7 +506,7 @@ def opensearch():
506506@app.route('/favicon.ico')
507507def favicon():
508508 return send_from_directory(os.path.join(app.root_path,
509− 'static',
509+ 'static/themes',
510510 get_current_theme_name(),
511511 'img'),
512512 'favicon.png',