From 09d6bb717cfb6852ce405ebb3808601cf8479673 Mon Sep 17 00:00:00 2001
From: holgern <holgernahrstaedt@gmx.de>
Date: Sun, 7 Apr 2019 23:23:14 +0200
Subject: [PATCH] Convert Decimal to float in pricehistory

---
 beem/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beem/cli.py b/beem/cli.py
index 10360164..20146588 100644
--- a/beem/cli.py
+++ b/beem/cli.py
@@ -1786,7 +1786,7 @@ def pricehistory(width, height, ascii):
     for h in price_history:
         base = Amount(h["base"], steem_instance=stm)
         quote = Amount(h["quote"], steem_instance=stm)
-        price.append(base.amount / quote.amount)
+        price.append(float(base.amount / quote.amount))
     if ascii:
         charset = u'ascii'
     else:
-- 
GitLab