@@ -73,7 +73,7 @@ babel = Babel(app)
73global_favicons = []
73global_favicons = []
74for indice, theme in enumerate(themes):
74for indice, theme in enumerate(themes):
75 global_favicons.append([])
75 global_favicons.append([])
76− theme_img_path = searx_dir+"/static/"+theme+"/img/icons/"
76+ theme_img_path = searx_dir+"/static/themes/"+theme+"/img/icons/"
77 for (dirpath, dirnames, filenames) in os.walk(theme_img_path):
77 for (dirpath, dirnames, filenames) in os.walk(theme_img_path):
78 global_favicons[indice].extend(filenames)
78 global_favicons[indice].extend(filenames)
@@ -506,7 +506,7 @@ def opensearch():
506@app.route('/favicon.ico')
506@app.route('/favicon.ico')
507def favicon():
507def favicon():
508 return send_from_directory(os.path.join(app.root_path,
508 return send_from_directory(os.path.join(app.root_path,
509− 'static',
509+ 'static/themes',
510 get_current_theme_name(),
510 get_current_theme_name(),
512 'favicon.png',
512 'favicon.png',