diff --git a/main.py b/main.py index 40d18b6..792b15b 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,5 @@ -import queue, sqlite3, time, atexit, sys, uuid, json, urllib.parse, logging, datetime -from flask import Flask, render_template, request, make_response, session +import queue, sqlite3, time, atexit, sys, uuid, json, urllib.parse, logging, datetime, os +from flask import Flask, render_template, request, make_response, session, send_from_directory from flask_socketio import SocketIO, join_room, leave_room from flask_session import Session from markupsafe import escape @@ -36,6 +36,10 @@ def exit_handler(): sys.exit("Program sucsesfully exited") #website +@app.route('/favicon.ico') +def favicon(): + return send_from_directory(os.path.join(app.root_path, 'static'),'favicon.ico',mimetype='Logo_CCC.icon') + @app.route("/") def index(): return 'user and tag list
The creator of this website accepts no liability for any linguistic or technical errors!
{escape(i[1])}: {i[2]}