Commit 49ee7a40 authored by Raphael Beer's avatar Raphael Beer

Fix: not returning on APIError

parent 3dd2171e
......@@ -11,7 +11,7 @@ class TimelineTermination:
if result.get("name", None) == "APIError" and result["errors"][0]["code"] == "ENOREPLIES":
debug('[TimelineTermination] ' + tweet_id + 'has no replies - can not test.')
result = None
return None
result["tweets"]["subject"] = result["tweets"]["subject"]["tweetId"]
result["tweets"]["testedWith"] = result["tweets"]["testedWith"]["tweetId"]
......
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