Skip to content

Commit

Permalink
fix: reset ratings before use
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Jun 10, 2024
1 parent 71cae10 commit 5096914
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x_notes/ratings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@


def add_ratings(notes: dict[str, dict[str, Any]]) -> None:
for note in notes.values():
del note["ratings"]

index = 0
while True:
try:
Expand Down

0 comments on commit 5096914

Please sign in to comment.