fds
This commit is contained in:
parent
148a184097
commit
16fff00ea5
1 changed files with 19 additions and 17 deletions
|
@ -5,7 +5,9 @@ from datetime import datetime
|
||||||
from flask_socketio import SocketIO, emit
|
from flask_socketio import SocketIO, emit
|
||||||
from files.__main__ import app
|
from files.__main__ import app
|
||||||
from flask import render_template
|
from flask import render_template
|
||||||
|
import sys
|
||||||
|
|
||||||
|
if "load_chat" in sys.argv:
|
||||||
sex = SocketIO(app, async_mode='gevent-websocket')
|
sex = SocketIO(app, async_mode='gevent-websocket')
|
||||||
|
|
||||||
@app.get("/chat")
|
@app.get("/chat")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue