simplify logic here

This commit is contained in:
DevilXD committed 2022-11-05 17:31:40 +01:00
1 parent ca5215bef3
commit 26a5787fa7
1 file changed
+1 -3
+1 -3
View File
@@ -351,12 +351,10 @@ class Twitch:
await self._run() await self._run()
except ReloadRequest: except ReloadRequest:
await self.shutdown() await self.shutdown()
continue
except ExitRequest: except ExitRequest:
pass break
except aiohttp.ContentTypeError as exc: except aiohttp.ContentTypeError as exc:
raise MinerException(_("login", "unexpected_content")) from exc raise MinerException(_("login", "unexpected_content")) from exc
break
async def _run(self): async def _run(self):
""" """