This commit is contained in:
DevilXD committed 2022-08-22 10:00:24 +02:00
commit 710eb68da0
5 files changed
+15 -8

No files matched your search

+4
View File
@@ -880,7 +880,11 @@ class Twitch:
# just so that quick 2nd retries that often happen, aren't shown
if delay > 1:
self.print(_("error", "no_connection").format(seconds=round(delay)))
if self.gui.close_requested:
raise ExitRequest()
await asyncio.sleep(delay)
if self.gui.close_requested:
raise ExitRequest()
async def gql_request(self, op: GQLOperation) -> JsonType:
gql_logger.debug(f"GQL Request: {op}")