We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc9bd4d commit 90b0587Copy full SHA for 90b0587
trio_websocket/_impl.py
@@ -30,7 +30,7 @@
30
)
31
import wsproto.utilities
32
33
-_TRIO_MULTI_ERROR = tuple(map(int, trio.__version__.split('.'))) < (0, 22, 0)
+_TRIO_MULTI_ERROR = tuple(map(int, trio.__version__.split('.')[:2])) < (0, 22)
34
35
CONN_TIMEOUT = 60 # default connect & disconnect timeout, in seconds
36
MESSAGE_QUEUE_SIZE = 1
0 commit comments