small fix in get_exchange_rates

While running tests, the print(e) was printing an annoying list of
currencies. Removing it it is also more coherent with the other
currencies providers below.
This commit is contained in:
jerryfletcher21
2024-07-05 16:44:57 +02:00
parent a6573ba416
commit 32aee2d45a

View File

@ -188,8 +188,7 @@ def get_exchange_rates(currencies):
blockchain_rates.append(
float(blockchain_prices[currency]["last"])
)
except Exception as e:
print(e)
except Exception:
blockchain_rates.append(np.nan)
api_rates.append(blockchain_rates)