Skip to content

Commit

Permalink
Merge pull request #93 from SmoFlaDru/dev-benno
Browse files Browse the repository at this point in the history
Fix accidental tuple conversion
  • Loading branch information
Bensge authored Nov 13, 2023
2 parents b343f0c + dfe035b commit d21a9e3
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 d21a9e3

Please sign in to comment.