mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-18 06:14: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>
|
<section>
|
||||||
|
|
||||||
```python,ignore
|
```python,ignore
|
||||||
try:
|
{{#include ../../snippets/python/src/fiat_currencies.py:fetch-fiat-rates}}
|
||||||
fiat_rates = sdk_services.fetch_fiat_rates()
|
|
||||||
# print your desired rate
|
|
||||||
except Exception as error:
|
|
||||||
# Handle error
|
|
||||||
```
|
```
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user