Minor typing update
This commit is contained in:
1 parent
73a2a6145f
commit
8f6589d275
1 file changed
+1
-3
@@ -923,9 +923,7 @@ class Twitch:
|
|||||||
if self.settings.proxy and "proxy" not in kwargs:
|
if self.settings.proxy and "proxy" not in kwargs:
|
||||||
kwargs["proxy"] = self.settings.proxy
|
kwargs["proxy"] = self.settings.proxy
|
||||||
logger.debug(f"Request: ({method=}, {url=}, {kwargs=})")
|
logger.debug(f"Request: ({method=}, {url=}, {kwargs=})")
|
||||||
session_timeout = timedelta(
|
session_timeout = timedelta(seconds=session.timeout.total or 0)
|
||||||
seconds=cast(aiohttp.ClientTimeout, session.timeout).total or 0
|
|
||||||
)
|
|
||||||
for delay in ExponentialBackoff(maximum=3*60):
|
for delay in ExponentialBackoff(maximum=3*60):
|
||||||
if self.gui.close_requested:
|
if self.gui.close_requested:
|
||||||
raise ExitRequest()
|
raise ExitRequest()
|
||||||
|
|||||||
Reference in new issue
Block a user