From 261667e5e8ee2ed9c7706d51df233a716c09360e Mon Sep 17 00:00:00 2001 From: chestm007 Date: Mon, 3 Dec 2018 22:30:40 +1100 Subject: [PATCH] fix typo, fix issue #622 (#680) --- i3pystatus/bitcoin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/bitcoin.py b/i3pystatus/bitcoin.py index 94b79a8..f96f1ac 100644 --- a/i3pystatus/bitcoin.py +++ b/i3pystatus/bitcoin.py @@ -41,7 +41,7 @@ class Bitcoin(IntervalModule): * {bid_price} * {daily_average} * {volume} - * {volume_thousend} + * {volume_thousand} * {volume_percent} * {age} * {status} @@ -132,7 +132,7 @@ class Bitcoin(IntervalModule): "bid_price": price_data["bid"], "last_price": price_data["last"], "volume": price_data["volume"], - "volume_thousend": price_data["volume"] / 1000, + "volume_thousand": float(price_data["volume"]) / 1000, "volume_percent": price_data["volume_percent"], "age": self._get_age(price_data['timestamp']) }