chore: update lock file and poetry 1.7.0 in CI (#2156)

* chore: update lock file and poetry 1.7.0 in CI
* mypy found an issue! :)

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
dni ⚡
2023-12-06 10:36:10 +01:00
committed by GitHub
parent cae39bc19f
commit 47bd96246f
5 changed files with 494 additions and 339 deletions

View File

@@ -264,7 +264,7 @@ async def btc_price(currency: str) -> float:
*[fetch_price(provider) for provider in exchange_rate_providers.values()],
return_exceptions=True,
)
rates = [r for r in results if not isinstance(r, Exception)]
rates = [r for r in results if not isinstance(r, BaseException)]
if not rates:
return 9999999999