Skip to content

Commit

Permalink
comments, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Jul 2, 2021
1 parent 3e9631b commit 0ee68a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twarc_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def _inline_referenced_tweets(self, tweet):
referenced_tweet["__twarc"] = (
tweet["__twarc"] if "__twarc" in tweet else None
)
# write tweet as new row if referenced tweet exists:
# write tweet as new row if referenced tweet exists (has more than the 3 default fields):
if len(referenced_tweet.keys()) > 3:
yield referenced_tweet
else:
Expand Down

0 comments on commit 0ee68a4

Please sign in to comment.