Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,6 @@ from io import BytesIO
|
|
10 |
import random
|
11 |
import logging
|
12 |
|
13 |
-
# Suppress eventlet logs by disabling the default logger
|
14 |
-
eventlet.wsgi.server = lambda *args, **kwargs: None
|
15 |
-
|
16 |
|
17 |
# Configure the logging level
|
18 |
logging.getLogger('eventlet.wsgi.server').setLevel(logging.ERROR)
|
@@ -161,4 +158,4 @@ def reset_quiz():
|
|
161 |
participant["score"] = 0
|
162 |
|
163 |
if __name__ == '__main__':
|
164 |
-
socketio.run(app, host='0.0.0.0', port=7860, debug=True
|
|
|
10 |
import random
|
11 |
import logging
|
12 |
|
|
|
|
|
|
|
13 |
|
14 |
# Configure the logging level
|
15 |
logging.getLogger('eventlet.wsgi.server').setLevel(logging.ERROR)
|
|
|
158 |
participant["score"] = 0
|
159 |
|
160 |
if __name__ == '__main__':
|
161 |
+
socketio.run(app, host='0.0.0.0', port=7860, debug=True)
|