make the code less ugly
This commit is contained in:
@@ -1762,9 +1762,8 @@ class TwitterAPI():
|
|||||||
yield user
|
yield user
|
||||||
elif entry["entryId"].startswith("cursor-bottom-"):
|
elif entry["entryId"].startswith("cursor-bottom-"):
|
||||||
cursor = entry["content"]["value"]
|
cursor = entry["content"]["value"]
|
||||||
if (cursor.startswith("-1|")):
|
if cursor.startswith("-1|") or \
|
||||||
stop = True
|
cursor.startswith("0|"):
|
||||||
if (cursor.startswith("0|")):
|
|
||||||
stop = True
|
stop = True
|
||||||
|
|
||||||
if stop or not cursor or not entry:
|
if stop or not cursor or not entry:
|
||||||
|
|||||||
Reference in New Issue
Block a user