We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42a6409 + 00859a4 commit 796eed9Copy full SHA for 796eed9
codestats_box.py
@@ -91,7 +91,8 @@ def get_total_xp_line(
91
str(datetime.date.today() - datetime.timedelta(days=i)) for i in range(7)
92
]
93
last_seven_days_xp = sum(
94
- [code_stats_response[CODE_STATS_DATE_KEY][day] for day in last_seven_days]
+ [code_stats_response[CODE_STATS_DATE_KEY][day] for day in last_seven_days
95
+ if day in code_stats_response[CODE_STATS_DATE_KEY]]
96
)
97
total_xp = code_stats_response[CODE_STATS_TOTAL_XP_KEY]
98
total_xp_value = ""
0 commit comments