Skip to content

Commit 8ba401c

Browse files
🚨 auto fix by pre-commit hooks
1 parent a74c870 commit 8ba401c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nonebot/adapters/dodo/adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, driver: Driver, **kwargs: Any):
3030
super().__init__(driver, **kwargs)
3131
self.dodo_config = get_plugin_config(Config)
3232
self.api_base: URL = URL("https://botopen.imdodo.com/api/v2")
33-
self.tasks: List["asyncio.Task"] = []
33+
self.tasks: List[asyncio.Task] = []
3434
self.setup()
3535

3636
@classmethod
@@ -86,7 +86,7 @@ async def run_bot(self, bot_info: BotConfig) -> None:
8686

8787
async def _forward_ws(self, bot: Bot, ws_url: URL) -> None:
8888
request = Request("GET", ws_url, timeout=30.0)
89-
heartbeat_task: Optional["asyncio.Task"] = None
89+
heartbeat_task: Optional[asyncio.Task] = None
9090
while True:
9191
try:
9292
async with self.websocket(request) as ws:

0 commit comments

Comments
 (0)