Browse Source

Merge branch 'Keylekan-master'

pull/280/head
Miguel Grinberg 6 years ago
parent
commit
3af9a003aa
No known key found for this signature in database GPG Key ID: 36848B262DF5F06C
  1. 1
      socketio/asyncio_client.py
  2. 1
      socketio/client.py

1
socketio/asyncio_client.py

@ -382,6 +382,7 @@ class AsyncClient(client.Client):
await self.connect(self.connection_url, await self.connect(self.connection_url,
headers=self.connection_headers, headers=self.connection_headers,
transports=self.connection_transports, transports=self.connection_transports,
namespaces=self.connection_namespaces,
socketio_path=self.socketio_path) socketio_path=self.socketio_path)
except (exceptions.ConnectionError, ValueError): except (exceptions.ConnectionError, ValueError):
pass pass

1
socketio/client.py

@ -477,6 +477,7 @@ class Client(object):
self.connect(self.connection_url, self.connect(self.connection_url,
headers=self.connection_headers, headers=self.connection_headers,
transports=self.connection_transports, transports=self.connection_transports,
namespaces=self.connection_namespaces,
socketio_path=self.socketio_path) socketio_path=self.socketio_path)
except (exceptions.ConnectionError, ValueError): except (exceptions.ConnectionError, ValueError):
pass pass

Loading…
Cancel
Save