Commit 7bafeaa6 authored by Kristian Tan's avatar Kristian Tan

Display todays cost

parent b4f9de16
...@@ -96,7 +96,7 @@ def toggle_pin(change_pin): ...@@ -96,7 +96,7 @@ def toggle_pin(change_pin):
daily_total = 0 daily_total = 0
todays_cost = format(0.1622 * float(daily_total), '.2f') todays_cost = format(0.1622 * float(daily_total), '.2f')
print(todays_cost)
template_data = { template_data = {
'pins': pins, 'pins': pins,
'daily_total': daily_total, 'daily_total': daily_total,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment