Commit 2ea5f4a3 authored by nanahira's avatar nanahira

make reply not none

parent ea8cdbfb
Pipeline #9701 passed with stage
in 26 seconds
......@@ -192,8 +192,13 @@ def searchban(screen_name):
reply = tmp
# print("Found a reply!", tmp["full_text"])
break
if reply is None:
returnjson["tests"]["ghost"] = {}
returnjson["tests"]["more_replies"] = {}
else:
tweet_detail_vars = {
"focalTweetId":reply["in_reply_to_status_id_str"],
"focalTweetId": reply["in_reply_to_status_id_str"],
"includePromotedContent":False,
"withBirdwatchNotes":False,
"withSuperFollowsUserFields":False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment