Skip to content

Commit

Permalink
Fix accidental tuple conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensge committed Nov 13, 2023
1 parent a9f7ad2 commit dfe035b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spybot/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def home(request):
dates, active_values, afk_values = zip(*data) if len(data) > 0 else ((), (), ())
# convert tuples back to lists when passing to template
context['daily_dates'] = list(dates)
context['daily_active_values'] = list(active_values),
context['daily_active_values'] = list(active_values)
context['daily_afk_values'] = list(afk_values)

# time of day histogram
Expand Down

0 comments on commit dfe035b

Please sign in to comment.