Miguel Grinberg
2 weeks ago
Failed to extract signature
3 changed files with
6 additions and
6 deletions
-
src/socketio/async_client.py
-
src/socketio/base_manager.py
-
src/socketio/client.py
|
|
@ -175,8 +175,8 @@ class AsyncClient(base_client.BaseClient): |
|
|
|
if set(self.namespaces) != set(self.connection_namespaces): |
|
|
|
await self.disconnect() |
|
|
|
raise exceptions.ConnectionError( |
|
|
|
'One or more namespaces failed to connect: ' + |
|
|
|
', '.join(self.failed_namespaces)) |
|
|
|
'One or more namespaces failed to connect: ' |
|
|
|
+ ', '.join(self.failed_namespaces)) |
|
|
|
|
|
|
|
self.connected = True |
|
|
|
|
|
|
|
|
|
@ -33,8 +33,8 @@ class BaseManager: |
|
|
|
|
|
|
|
Note that in a multi-server scenario this method only returns the |
|
|
|
participants connect to the server in which the method is called. There |
|
|
|
is currently no functionality to assemble a complete list of users across |
|
|
|
multiple servers. |
|
|
|
is currently no functionality to assemble a complete list of users |
|
|
|
across multiple servers. |
|
|
|
""" |
|
|
|
ns = self.rooms.get(namespace, {}) |
|
|
|
if hasattr(room, '__len__') and not isinstance(room, str): |
|
|
|
|
|
@ -168,8 +168,8 @@ class Client(base_client.BaseClient): |
|
|
|
if set(self.namespaces) != set(self.connection_namespaces): |
|
|
|
self.disconnect() |
|
|
|
raise exceptions.ConnectionError( |
|
|
|
'One or more namespaces failed to connect: ' + |
|
|
|
', '.join(self.failed_namespaces)) |
|
|
|
'One or more namespaces failed to connect: ' |
|
|
|
+ ', '.join(self.failed_namespaces)) |
|
|
|
|
|
|
|
self.connected = True |
|
|
|
|
|
|
|