parent
d48c211960
commit
7d0d2f2097
|
@ -112,8 +112,9 @@ class BitcoinAverage(ExchangeBase):
|
||||||
class BitcoinVenezuela(ExchangeBase):
|
class BitcoinVenezuela(ExchangeBase):
|
||||||
def get_rates(self, ccy):
|
def get_rates(self, ccy):
|
||||||
json = self.get_json('api.bitcoinvenezuela.com', '/')
|
json = self.get_json('api.bitcoinvenezuela.com', '/')
|
||||||
return dict([(r, Decimal(json['BTC'][r]))
|
rates = [(r, json['BTC'][r]) for r in json['BTC']
|
||||||
for r in json['BTC']])
|
if json['BTC'][r] is not None] # Giving NULL for LTC
|
||||||
|
return dict(rates)
|
||||||
|
|
||||||
def protocol(self):
|
def protocol(self):
|
||||||
return "http"
|
return "http"
|
||||||
|
|
Loading…
Reference in New Issue