Skip to content

Commit

Permalink
Remove useless except statements and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Feb 15, 2025
1 parent 9afbe2a commit 37bc810
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ regarding the use of this software.

General:

- command-line interface
- access both public and private, REST and websocket endpoints
- responsive error handling and custom exceptions
- extensive example scripts (see `/examples` and `/tests`)
- tested using the [pytest](https://docs.pytest.org/en/7.3.x/) framework
- releases are permanently archived at [Zenodo](https://zenodo.org/badge/latestdoi/510751854)
- Command-line interface
- Access both public and private, REST and websocket endpoints
- Responsive error handling and custom exceptions
- Extensive example scripts (see `/examples` and `/tests`)
- Tested using the [pytest](https://docs.pytest.org/en/7.3.x/) framework
- Releases are permanently archived at [Zenodo](https://zenodo.org/badge/latestdoi/510751854)

Available Clients:

Expand Down
12 changes: 6 additions & 6 deletions doc/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ Features

General:

- command-line interface
- access both public and private, REST and websocket endpoints
- responsive error handling and custom exceptions
- extensive examples
- tested using the `pytest <https://docs.pytest.org/en/7.3.x/>`_ framework
- releases are permanently archived at `Zenodo <https://zenodo.org/badge/latestdoi/510751854>`_
- Command-line interface
- Access both public and private, REST and websocket endpoints
- Responsive error handling and custom exceptions
- Extensive examples
- Tested using the `pytest <https://docs.pytest.org/en/7.3.x/>`_ framework
- Releases are permanently archived at `Zenodo <https://zenodo.org/badge/latestdoi/510751854>`_

Available Clients:

Expand Down
2 changes: 0 additions & 2 deletions examples/futures_ws_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ async def main() -> None:

while not client.exception_occur: # and not client_auth.exception_occur:
await asyncio.sleep(6)
except Exception:
pass
finally:
# Close the sessions properly.
for _client in clients:
Expand Down
2 changes: 0 additions & 2 deletions examples/spot_ws_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ async def main() -> None:

while not client.exception_occur: # and not client_auth.exception_occur:
await asyncio.sleep(6)
except Exception:
pass
finally:
# Stop the sessions properly.
for _client in clients:
Expand Down

0 comments on commit 37bc810

Please sign in to comment.