mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Merge branch 'master' of git://github.com/spesmilo/electrum
This commit is contained in:
commit
ac4a522289
1 changed files with 2 additions and 2 deletions
|
@ -430,12 +430,12 @@ class Plugin(BasePlugin):
|
|||
cur_currency = self.config.get('currency', "EUR")
|
||||
if cur_currency == "VEF":
|
||||
try:
|
||||
resp_hist = self.exchanger.get_json('api.bitcoinvenezuela.com', "/historical/index.php")['VEF_BTC']
|
||||
resp_hist = self.exchanger.get_json('api.bitcoinvenezuela.com', "/historical/index.php?coin=BTC")['VEF_BTC']
|
||||
except Exception:
|
||||
return
|
||||
elif cur_currency == "ARS":
|
||||
try:
|
||||
resp_hist = self.exchanger.get_json('api.bitcoinvenezuela.com', "/historical/index.php")['ARS_BTC']
|
||||
resp_hist = self.exchanger.get_json('api.bitcoinvenezuela.com', "/historical/index.php?coin=BTC")['ARS_BTC']
|
||||
except Exception:
|
||||
return
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue