diff --git a/x_notes/tweets.py b/x_notes/tweets.py index 376a1ed7..daf58772 100644 --- a/x_notes/tweets.py +++ b/x_notes/tweets.py @@ -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)