From 20d56f487b089b85b80a60ee7c145851e271d511 Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Tue, 14 May 2024 07:19:08 +0100 Subject: [PATCH] docs: hopefully clearer comments --- x_notes/notes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x_notes/notes.py b/x_notes/notes.py index c35cbad32..d17109163 100644 --- a/x_notes/notes.py +++ b/x_notes/notes.py @@ -42,10 +42,10 @@ def get_notes(notes: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]]: note_id = row["noteId"] created_at = to_isoformat(row["createdAtMillis"]) if float(row["createdAtMillis"]) / 1000 < one_week_ago: - # exclude old notes + # ignore old notes continue if row["classification"] == "NOT_MISLEADING": - # exclude "not misleading" notes + # ignore "not misleading" notes if note_id in notes: del notes[note_id] continue