From a4d9965f5ae5d9b689f44df6fa709d7159dc13a8 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Tue, 24 Feb 2026 14:41:12 -0800 Subject: [PATCH] fix: store new_contributor parameter in __init__ Remove the unconditional reassignment of new_contributor = False that caused the constructor parameter to be silently ignored. Closes #406 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- contributor_stats.py | 1 - 1 file changed, 1 deletion(-) diff --git a/contributor_stats.py b/contributor_stats.py index 3b5b8c7..b1e388c 100644 --- a/contributor_stats.py +++ b/contributor_stats.py @@ -45,7 +45,6 @@ def __init__( sponsor_info: str, ): """Initialize the contributor_stats object""" - new_contributor = False self.username = username self.new_contributor = new_contributor self.avatar_url = avatar_url