Skip to content

Commit

Permalink
correction favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
adri1s committed Apr 14, 2020
1 parent 24ad29b commit 2e0e22a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import os
import datetime
import sass
import re
import yaml
from flask import Flask, render_template, send_from_directory, jsonify
from flask import Flask, render_template, jsonify
from flask import send_from_directory
from cal_setup import get_calendar_service
from html.parser import HTMLParser
from flask_fontawesome import FontAwesome
Expand All @@ -15,6 +17,7 @@
sass_map = {"static/scss/style.scss": "static/style.css"}
labelList = ["webinar","url","tags","city"]
events = list()
file = list()

class HTMLFilter(HTMLParser):
text = ""
Expand Down Expand Up @@ -99,7 +102,7 @@ def page_not_found(e):

@app.route('/favicon.ico')
def favicon():
return send_from_directory(os.path.join(app.root_path, 'static'),'favicon.ico', mimetype='image/png')
return send_from_directory(os.path.join(app.root_path, 'static'),'favicon.png', mimetype='image/png')

@app.route('/ping')
def ping():
Expand Down

0 comments on commit 2e0e22a

Please sign in to comment.