diff --git a/x_notes/ratings.py b/x_notes/ratings.py index 81298412..9f9f6adf 100644 --- a/x_notes/ratings.py +++ b/x_notes/ratings.py @@ -8,7 +8,7 @@ def add_ratings(notes: dict[str, dict[str, Any]]) -> None: for note in notes.values(): - if "rating" in note: + if "ratings" in note: del note["ratings"] if "score" in note: del note["score"]