Skip to content

Commit e21609a

Browse files
authored
🐛 Fix: WebSocket 基类 typo (#4095)
1 parent 072c0bd commit e21609a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nonebot/internal/driver/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async def send(self, data: str | bytes) -> None:
209209
elif isinstance(data, bytes):
210210
await self.send_bytes(data)
211211
else:
212-
raise TypeError("WebSocker send method expects str or bytes!")
212+
raise TypeError("WebSocket send method expects str or bytes!")
213213

214214
@abc.abstractmethod
215215
async def send_text(self, data: str) -> None:

0 commit comments

Comments
 (0)