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)