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:
|
||||
kwargs["proxy"] = self.settings.proxy
|
||||
logger.debug(f"Request: ({method=}, {url=}, {kwargs=})")
|
||||
session_timeout = timedelta(
|
||||
seconds=cast(aiohttp.ClientTimeout, session.timeout).total or 0
|
||||
)
|
||||
session_timeout = timedelta(seconds=session.timeout.total or 0)
|
||||
for delay in ExponentialBackoff(maximum=3*60):
|
||||
if self.gui.close_requested:
|
||||
raise ExitRequest()
|
||||
|
||||
Reference in new issue
Block a user