From 80bf9952e8b5a2de616639a8d4cd8d541db82ef3 Mon Sep 17 00:00:00 2001 From: Tim Bellefleur Date: Thu, 15 Oct 2015 13:10:00 -0700 Subject: [PATCH] Fix method call to BitcoinAverage --- plugins/exchange_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py index 0ecaf29c5..25603c76a 100644 --- a/plugins/exchange_rate.py +++ b/plugins/exchange_rate.py @@ -85,7 +85,7 @@ class ExchangeBase(PrintError): class BitcoinAverage(ExchangeBase): - def update(self, ccy): + def get_rates(self, ccy): json = self.get_json('api.bitcoinaverage.com', '/ticker/global/all') return dict([(r, Decimal(json[r]['last'])) for r in json if r != 'timestamp'])