Commit ce8af118147d1ac794f81c75ed607638ef4abc92

Authored by Goutte
1 parent 541e2936

Fix the favicon.

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
web/run.py
... ... @@ -142,8 +142,17 @@ def datetime_from_list(time_list):
142 142 "%Y%j%H%M%S%f"
143 143 )
144 144  
  145 +
145 146 # ROUTING #####################################################################
146 147  
  148 +@app.route('/favicon.ico')
  149 +def favicon():
  150 + return send_from_directory(
  151 + join(app.root_path, 'static', 'img'),
  152 + 'favicon.ico', mimetype='image/vnd.microsoft.icon'
  153 + )
  154 +
  155 +
147 156 @app.route("/")
148 157 @app.route("/home.html")
149 158 @app.route("/index.html")
... ...