Added 'time' to fieldname init

This commit is contained in:
Nate Schoolfield 2021-01-24 13:08:50 -08:00
parent b003ec408c
commit 28d4f5c26a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ graph_data = {}
last_tick_time = None
tick_seconds = 0.5
fieldnames = []
fieldnames = ['time']
for data_type, _ in sleep_data.items():
periods = sleep_data[data_type]['periods']
for period in periods: