Skip to content

Commit 0468c62

Browse files
committed
wsproto
1 parent 41017de commit 0468c62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

thingsdb/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ async def _ensure_write(
380380
try:
381381
assert self._protocol # we're connected
382382
res = await self._protocol.write(tp, data, is_bin, timeout)
383-
except (asyncio.exceptions.CancelledError,
383+
except (asyncio.CancelledError,
384384
CancelledError, NodeError, AuthError) as e:
385385
if timeout and time.time() - start > timeout:
386386
msg = str(e) or type(e).__name__

thingsdb/client/wsprotocol.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
class ProtocolWS(BaseProtocol):
16+
1617
"""More a wrapper than a true protocol."""
1718
def __init__(
1819
self,

0 commit comments

Comments
 (0)