generated from nathanwoodburn/python-webserver-template
fix: Update double quotes to single
All checks were successful
Build Docker / BuildImage (push) Successful in 32s
All checks were successful
Build Docker / BuildImage (push) Successful in 32s
This commit is contained in:
parent
1a5cac57eb
commit
376f79370f
@ -98,7 +98,7 @@ def index():
|
|||||||
tokens = getTokens()
|
tokens = getTokens()
|
||||||
solValue = getSolValue()
|
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)}"))
|
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)
|
return render_template("index.html", value=tokenValue, supply=tokenSupply, pie_chart=pie_chart_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user