@@ -33,7 +33,7 @@ def generate_unique_client_id():
33
33
34
34
35
35
logger = logging .getLogger ('socketio' )
36
- logging .disable ( logging .CRITICAL )
36
+ logging .getLogger ( 'engineio' ). setLevel ( logging .NONE )
37
37
38
38
spawnsCratures = list ()
39
39
gameObjectsLocations = list ()
@@ -90,7 +90,7 @@ def filterDictionary(original_dict, filters):
90
90
app = Flask (__name__ )
91
91
app .config ['STATIC_FOLDER' ] = app_conf ['static_folder' ]
92
92
app .config ['SECRET_KEY' ] = app_conf ['secret_key' ]
93
- app .config ['DEBUG' ] = app_conf [ 'debug' ]
93
+ app .config ['DEBUG' ] = False
94
94
app .clients = {}
95
95
96
96
socketio = SocketIO (app , logger = app_conf ['logger' ], engineio_logger = app_conf ['engineio_logger' ])
@@ -254,7 +254,6 @@ def request_server_update(data):
254
254
max_y = data ['max_y' ]
255
255
256
256
offset_x = data ['offsetLeft' ]
257
-
258
257
offset_y = data ['offsetTop' ]
259
258
260
259
if type (offset_x ) == str :
@@ -345,4 +344,4 @@ def request_server_update(data):
345
344
worldPorts = WorldDatabaseManager .WorldPorts ()
346
345
guestsLocation = WorldDatabaseManager .get_quests_location (0 )
347
346
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