diff --git a/nonebot/adapters/red/adapter.py b/nonebot/adapters/red/adapter.py index b3b8573..85dee4d 100644 --- a/nonebot/adapters/red/adapter.py +++ b/nonebot/adapters/red/adapter.py @@ -5,8 +5,8 @@ from nonebot.utils import escape_tag from pydantic import ValidationError -from nonebot.exception import NetworkError, WebSocketClosed, ActionFailed from nonebot.drivers import Driver, Request, WebSocket, ForwardDriver +from nonebot.exception import ActionFailed, NetworkError, WebSocketClosed from nonebot.adapters import Adapter as BaseAdapter @@ -250,6 +250,6 @@ async def request(self, setup: Request): raise ActionFailed( self.get_name(), f"HTTP status code {resp.status_code} " - f"response body: {resp.content}" + f"response body: {resp.content}", ) return resp