mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Fix bug in BfxWebsocketClient::close (bfxapi.websocket.client.bfx_websocket_client).
This commit is contained in:
@@ -61,7 +61,7 @@ class BfxWebsocketBucket:
|
||||
|
||||
try:
|
||||
await _connection()
|
||||
except websockets.ConnectionClosedError as error:
|
||||
except websockets.exceptions.ConnectionClosedError as error:
|
||||
if error.code in (1006, 1012):
|
||||
self.on_open_event.clear()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user