mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Support for Python <= 3.8
This commit is contained in:
@@ -94,7 +94,8 @@ class GenericWebsocket:
|
||||
return self._run_socket()
|
||||
|
||||
def _start_new_async_socket(self):
|
||||
asyncio.run(self._run_socket())
|
||||
loop = asyncio.new_event_loop()
|
||||
loop.run_until_complete(self._run_socket())
|
||||
|
||||
def _start_new_socket(self, socketId=None):
|
||||
if not socketId:
|
||||
|
||||
Reference in New Issue
Block a user