Fix typo in PR

This commit is contained in:
Dylan
2025-04-24 13:23:42 +01:00
committed by GitHub
parent 9a4889fab3
commit 84b620894f

View File

@@ -220,7 +220,7 @@ def getApiResponse(tweet,include_txt=False,include_rtf=False):
replyingTo = tweetL['in_reply_to_screen_name']
replyingToID = None
if 'in_reply_to_status_id_str' in tweetL andTweetL['in_reply_to_status_id_str'] != None:
if 'in_reply_to_status_id_str' in tweetL and tweetL['in_reply_to_status_id_str'] != None:
replyingToID = tweetL['in_reply_to_status_id_str']
apiObject = {