Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: memberactivities analytics range! #66

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion discord_analyzer/analysis/compute_member_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def compute_member_activity(
# no analytics for the days would be computed
# so make it as a window_d lenght to have the computations
new_date_range_interval = (new_date_range[1] - new_date_range[0]).days
if new_date_range_interval < window_param["period_size"] - 1:
if load_past_data is True:
interval_before = (new_date_range_interval) + (
window_param["period_size"] - 1
)
Expand Down
Loading