From 376f79370f6d32829446c5d4df5d72d3e7ce5fff Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 4 Dec 2024 20:20:05 +1100 Subject: [PATCH] fix: Update double quotes to single --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 4a64d93..0a4e046 100644 --- a/server.py +++ b/server.py @@ -98,7 +98,7 @@ def index(): tokens = getTokens() solValue = getSolValue() - pie_chart_data = [(token['symbol'].upper(), token['value'], f"{token['name']}: ${"{:.2f}".format(token['value'])}") for token in tokens] + pie_chart_data = [(token['symbol'].upper(), token['value'], f"{token['name']}: ${'{:.2f}'.format(token['value'])}") for token in tokens] pie_chart_data.append(("SOL", solValue, f"Solana: ${"{:.2f}".format(solValue)}")) return render_template("index.html", value=tokenValue, supply=tokenSupply, pie_chart=pie_chart_data)