mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Fix python snippet
This commit is contained in:
@@ -115,11 +115,7 @@ To get the current BTC rate in the various supported fiat currencies:
|
||||
<section>
|
||||
|
||||
```python,ignore
|
||||
try:
|
||||
fiat_rates = sdk_services.fetch_fiat_rates()
|
||||
# print your desired rate
|
||||
except Exception as error:
|
||||
# Handle error
|
||||
{{#include ../../snippets/python/src/fiat_currencies.py:fetch-fiat-rates}}
|
||||
```
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user