Skip to content

Commit

Permalink
docs: hopefully clearer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 14, 2024
1 parent b47289e commit 20d56f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x_notes/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20d56f4

Please sign in to comment.