Skip to content

Commit

Permalink
Merge pull request #4255 from magfest/badge_graph
Browse files Browse the repository at this point in the history
Fixing badge graph
  • Loading branch information
bitbyt3r authored Sep 28, 2023
2 parents 00edab9 + 28da108 commit d2fa66e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions uber/site_sections/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ def date_trunc_day(*args, **kwargs):
# merge attendee and promo code group reg
total_reg_per_day = defaultdict(int)
for k, v in dict(reg_per_day).items():
if not k:
continue
total_reg_per_day[k] += v
for k, v in dict(group_reg_per_day).items():
if not k:
continue
total_reg_per_day[k] += v

for day, reg_count in total_reg_per_day.items():
Expand Down

0 comments on commit d2fa66e

Please sign in to comment.