From 26a5787fa72e2dd8e5c92d0f7144d05090b890f4 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sat, 5 Nov 2022 17:31:40 +0100 Subject: [PATCH] simplify logic here --- twitch.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/twitch.py b/twitch.py index b802aaa..3b726ba 100644 --- a/twitch.py +++ b/twitch.py @@ -351,12 +351,10 @@ class Twitch: await self._run() except ReloadRequest: await self.shutdown() - continue except ExitRequest: - pass + break except aiohttp.ContentTypeError as exc: raise MinerException(_("login", "unexpected_content")) from exc - break async def _run(self): """