Fix followers download. Remove condition for and last_cursor != "" - Close #368

This commit is contained in:
Alessandro Maggio
2021-12-23 00:38:59 +01:00
parent 9c53c62341
commit 9fa5458b68
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
__version__ = "2.0.6"
__version__ = "2.0.7"
from .TwitchChannelPointsMiner import TwitchChannelPointsMiner
__all__ = [

View File

@@ -168,7 +168,7 @@ class Twitch(object):
has_next = True
last_cursor = ""
follows = []
while has_next is True and last_cursor != "":
while has_next is True:
json_data["variables"]["cursor"] = last_cursor
json_response = self.post_gql_request(json_data)
try: