From 47f1d9e3ecc0389e73d57943fcea36ca687be3a1 Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Sat, 10 Jan 2026 20:30:30 -0500 Subject: [PATCH] bug fix --- scripts/language_stats.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/language_stats.py b/scripts/language_stats.py index 95bd130..7d22df4 100644 --- a/scripts/language_stats.py +++ b/scripts/language_stats.py @@ -79,9 +79,9 @@ def fetch_repos(session: requests.Session) -> list[dict]: return repos -def get_repo_push_timestamps(repos: list[dict]) -> dict[str, str]: - """Extract repository names and their pushed_at timestamps.""" - return {repo["name"]: repo.get("pushed_at", "") for repo in repos} +def get_repo_timestamps(repos: list[dict]) -> dict[str, str]: + """Extract repository names and their updated_at timestamps.""" + return {repo["name"]: repo.get("updated_at", "") for repo in repos} def load_state() -> dict: @@ -193,7 +193,7 @@ def main() -> int: # Fetch current repository state repos = fetch_repos(session) - current_timestamps = get_repo_push_timestamps(repos) + current_timestamps = get_repo_timestamps(repos) # Load previous state and check for changes saved_state = load_state()