diff options
| author | Lint Action <noreply@github.com> | 2023-03-09 17:15:27 +0000 | 
|---|---|---|
| committer | Lint Action <noreply@github.com> | 2023-03-09 17:15:27 +0000 | 
| commit | 34e7540e9caac8dc96e490ef035f73753452eb38 (patch) | |
| tree | 189611007d29ba529fa347c2f6dfacd460b13d35 /ATRI/plugins/console/backend | |
| parent | 43c29e12ab6555815c0e26b06999d8fb8e3cf9b2 (diff) | |
| download | ATRI-34e7540e9caac8dc96e490ef035f73753452eb38.tar.gz ATRI-34e7540e9caac8dc96e490ef035f73753452eb38.tar.bz2 ATRI-34e7540e9caac8dc96e490ef035f73753452eb38.zip | |
:rotating_light: 自动进行代码格式化
Diffstat (limited to 'ATRI/plugins/console/backend')
| -rw-r--r-- | ATRI/plugins/console/backend/api.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ATRI/plugins/console/backend/api.py b/ATRI/plugins/console/backend/api.py index ffb1853..25e9da5 100644 --- a/ATRI/plugins/console/backend/api.py +++ b/ATRI/plugins/console/backend/api.py @@ -79,9 +79,9 @@ async def _(websocket: WebSocket):          while websocket.client_state == WebSocketState.CONNECTED:              await websocket.send_json(                  models.Response( -                status=status.HTTP_200_OK, -                detail="OK", -                data=get_message_info().dict() +                    status=status.HTTP_200_OK, +                    detail="OK", +                    data=get_message_info().dict(),                  ).dict()              )              await asyncio.sleep(1) | 
