Skip to content

Commit

Permalink
Mark deleted tweets as such
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 11, 2024
1 parent 239be38 commit 3890a7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x_notes/tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def get_next_unfetched_note(notes: dict[str, dict[str, Any]]) -> dict[str, Any]
note["lang"] = tweet.lang
note["user"] = tweet.user.username
note["tweet"] = tweet.rawContent
else:
note["deleted"] = 1
notes[note_id] = note

save_notes(notes)

0 comments on commit 3890a7e

Please sign in to comment.