Skip to content

Commit

Permalink
fix: not sure this is right but
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Jun 9, 2024
1 parent c8b7c73 commit a2fc758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x_notes/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def save_notes(
notes: dict[str, dict[str, Any]], filepath: str = "output/data/notes.json"
) -> None:
noted_tweets = {}
for note in notes:
for note in notes.values():
if note["tweet_id"] not in noted_tweets:
noted_tweets[note["tweet_id"]] = {
k: note[k]
Expand Down

0 comments on commit a2fc758

Please sign in to comment.