Логи
This commit is contained in:
parent
504a9d809a
commit
ee83b93f71
@ -103,8 +103,9 @@ async def receive_messages(websocket, auth_dict):
|
||||
async for message in websocket:
|
||||
message_from_json = json.loads(message)
|
||||
for message_item in message_from_json:
|
||||
log(f"<<< Ответ получен: {message_item}")
|
||||
identifier = message_item.get("identifier")
|
||||
if identifier != 'location:0/position_broadcast':
|
||||
log(f"<<< Ответ получен: {message_item}")
|
||||
|
||||
if identifier == "core/connection_response":
|
||||
log("Соединение установлено. Инициализация модулей...")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user