From a437a34bcf925243edee0f43e5cc86b11e1610b4 Mon Sep 17 00:00:00 2001 From: ActuallyKit <54536660+ActuallyKit@users.noreply.github.com> Date: Sun, 9 Jul 2023 02:41:46 +0700 Subject: [PATCH] fix lint i guess? --- gallery_dl/extractor/twitter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index 8cf8f194..420212a1 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -1762,7 +1762,9 @@ class TwitterAPI(): yield user elif entry["entryId"].startswith("cursor-bottom-"): cursor = entry["content"]["value"] - if (cursor.startswith("-1|") or cursor.startswith("0|")): + if (cursor.startswith("-1|")): + stop = True + if (cursor.startswith("0|")): stop = True if stop or not cursor or not entry: