mirror of
https://github.com/lnbits/lnbits.git
synced 2025-12-11 13:12:28 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user