Commit 673b6b30 authored by Kristian Tan's avatar Kristian Tan

Fixed typo

parent 2253139f
...@@ -106,7 +106,7 @@ def main(): ...@@ -106,7 +106,7 @@ def main():
records = DailyUsage.query.all() records = DailyUsage.query.all()
for record in records: for record in records:
labels.append(record.date) labels.append(record.date)
values.append(record.kWhUsed) values.append(record.kwhUsed)
if record.kWhUsed > max: if record.kWhUsed > max:
max = record.kWhUsed max = record.kWhUsed
print(record) print(record)
......
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