Skip to content

Commit

Permalink
fix: this was completely wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 14, 2024
1 parent 45113d0 commit 51d170e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x_notes/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def urlize(inp: str) -> str:

def get_notes(notes: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]]:
notes_by_tweet_id = {
note["tweet_id"]: note for note in notes.items() if "dl" in note
note["tweet_id"]: note for note in notes.values() if "dl" in note
}
notes = {
k: v
Expand Down

0 comments on commit 51d170e

Please sign in to comment.