Skip to content

Commit

Permalink
Merge pull request #66 from TogetherCrew/fix/memberactivities_run_onc…
Browse files Browse the repository at this point in the history
…e_missing_data

fix: memberactivities analytics range!
  • Loading branch information
amindadgar authored Feb 14, 2024
2 parents 287c3a0 + 6430ec8 commit 911f07e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 911f07e

Please sign in to comment.