forgot to actually check whether the ammount of

comments was 1, now it's fixed
This commit is contained in:
Karma Riuk
2025-03-14 09:48:57 +01:00
parent 49e8e29e7a
commit 115e275479

View File

@ -45,6 +45,9 @@ def has_only_1_comment(commits: PaginatedList[Commit], comments: PaginatedList[P
):
return False
if comments.totalCount != 1:
return False
commit_dates = [commit.commit.author.date for commit in tqdm(commits, total=commits.totalCount, desc="Extracting date from commits", leave=False)]
commit_dates.sort()