commit 5b0d0f4d99f15b63f4ebec5f24402a21a405a854
parent 86917c2ff3d512c149500f1acc6c3e84f5ba8bf8
Author: wozz <wozz@users.noreply.github.com>
Date: Sat, 19 Apr 2014 09:06:56 -0400
Merge pull request #665 from wozz/exchange-value
Exchange rate update
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
@@ -358,7 +358,7 @@ class Plugin(BasePlugin):
if quote:
price_text = "1 BTC~%s"%quote
fiat_currency = quote[-3:]
- btc_price = quote[:-4]
+ btc_price = self.btc_rate
fiat_balance = Decimal(btc_price) * (Decimal(btc_balance)/100000000)
balance_text = "(%.2f %s)" % (fiat_balance,fiat_currency)
text = " " + balance_text + " " + price_text + " "