From ba9449db23ecd9470624972d77e361c65195ef3c Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 13 Apr 2020 22:31:54 +0100 Subject: [PATCH] Update views.py --- lnbits/extensions/tpos/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/tpos/views.py b/lnbits/extensions/tpos/views.py index ff8be71..b13f412 100644 --- a/lnbits/extensions/tpos/views.py +++ b/lnbits/extensions/tpos/views.py @@ -23,4 +23,4 @@ def tpos(tpos_id): r = requests.get("https://api.opennode.co/v1/rates") r_json = r.json() rr = get_wallet(tpos.wallet) - return render_template("tpos/tpos.html", tpos=tpos.id, inkey=rr.inkey, rate=r_json["data"]["BTC" + tpos.currency][tpos.currency]) + return render_template("tpos/tpos.html", tpos=tpos.id, inkey=rr.inkey, rate=r_json["data"]["BTC" + tpos.currency][tpos.currency], curr=tpos.currency)