Revert "spacing"

This reverts commit 65a3bec654.
This commit is contained in:
itsdeka
2021-12-14 12:10:45 +01:00
parent 65a3bec654
commit 0a6cc34f8a
4 changed files with 3 additions and 9 deletions

View File

@@ -1,6 +1,3 @@
1.3.1
-) Handle exception of asyncio.get_event_loop() | Related to v1.2.8
1.3.0 1.3.0
-) Adjusted get_trades() to allow symbol to be None and get trades for all symbols -) Adjusted get_trades() to allow symbol to be None and get trades for all symbols

View File

@@ -2,4 +2,4 @@
This module contains the current version of the bfxapi lib This module contains the current version of the bfxapi lib
""" """
__version__ = '1.3.1' __version__ = '1.3.0'

View File

@@ -84,10 +84,7 @@ class GenericWebsocket:
thread and connection. thread and connection.
""" """
self._start_new_socket() self._start_new_socket()
try: event_loop = asyncio.get_event_loop()
event_loop = asyncio.get_event_loop()
except Exception:
event_loop = None
if not event_loop or not event_loop.is_running(): if not event_loop or not event_loop.is_running():
while True: while True:
time.sleep(1) time.sleep(1)

View File

@@ -11,7 +11,7 @@ from os import path
here = path.abspath(path.dirname(__file__)) here = path.abspath(path.dirname(__file__))
setup( setup(
name='bitfinex-api-py', name='bitfinex-api-py',
version='1.3.1', version='1.3.0',
description='Official Bitfinex Python API', description='Official Bitfinex Python API',
long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction', long_description='A Python reference implementation of the Bitfinex API for both REST and websocket interaction',
long_description_content_type='text/markdown', long_description_content_type='text/markdown',