Skip to content

Commit 941b8be

Browse files
committed
changes to docker-file
1 parent 8b25856 commit 941b8be

8 files changed

+11418
-973
lines changed

app/main.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def generate_unique_client_id():
3333

3434

3535
logger = logging.getLogger('socketio')
36-
logging.disable(logging.CRITICAL)
36+
logging.getLogger('engineio').setLevel(logging.NONE)
3737

3838
spawnsCratures = list()
3939
gameObjectsLocations = list()
@@ -90,7 +90,7 @@ def filterDictionary(original_dict, filters):
9090
app = Flask(__name__)
9191
app.config['STATIC_FOLDER'] = app_conf['static_folder']
9292
app.config['SECRET_KEY'] = app_conf['secret_key']
93-
app.config['DEBUG'] = app_conf['debug']
93+
app.config['DEBUG'] = False
9494
app.clients = {}
9595

9696
socketio = SocketIO(app, logger=app_conf['logger'], engineio_logger=app_conf['engineio_logger'])
@@ -254,7 +254,6 @@ def request_server_update(data):
254254
max_y = data['max_y']
255255

256256
offset_x = data['offsetLeft']
257-
258257
offset_y = data['offsetTop']
259258

260259
if type(offset_x) == str:
@@ -345,4 +344,4 @@ def request_server_update(data):
345344
worldPorts = WorldDatabaseManager.WorldPorts()
346345
guestsLocation = WorldDatabaseManager.get_quests_location(0)
347346

348-
socketio.run(app, host=app_conf['host'], port=app_conf['port'], debug=app_conf['debug'])
347+
socketio.run(app, host=app_conf['host'], port=app_conf['port'], debug=False)

0 commit comments

Comments
 (0)