From e0f02db12302b367831b1aeee2ba13c681d610c2 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 16 Apr 2019 14:52:59 +0200 Subject: [PATCH] Update summary/summary.py Co-Authored-By: Johnstedt --- summary/summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summary/summary.py b/summary/summary.py index 1453671..0b14326 100755 --- a/summary/summary.py +++ b/summary/summary.py @@ -36,7 +36,7 @@ class PriceThread(threading.Thread): try: r = requests.get('https://apiv2.bitcoinaverage.com/convert/global' '?from=BTC&to={}&amount=1'.format(plugin.currency)) - plugin.fiat_per_btc = json.loads(r.content.decode())['price'] + plugin.fiat_per_btc = json.loads(r.content.decode('UTF-8'))['price'] except Exception: pass # Six hours is more than often enough for polling