From 6b1f99693763d5cfb5593413a3c176aec4e3f01c Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Fri, 16 Oct 2026 16:26:23 -0600 Subject: [PATCH] style: fix ruff format and isort in hls.py --- unshackle/core/manifests/hls.py | 4 +++- unshackle/core/vault.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/unshackle/core/manifests/hls.py b/unshackle/core/manifests/hls.py index c9afdc12..54b2df50 100644 --- a/unshackle/core/manifests/hls.py +++ b/unshackle/core/manifests/hls.py @@ -1610,7 +1610,9 @@ class HLS: try: return HLS.get_drm(key, session) except Widevine.Exceptions.KIDNotFound: - kid = HLS.get_track_kid_from_init(master, track, probe_session or session or run_proxy.fallback_session(), init_section) + kid = HLS.get_track_kid_from_init( + master, track, probe_session or session or run_proxy.fallback_session(), init_section + ) if not kid: raise return HLS.get_drm(key, session, kid=kid) diff --git a/unshackle/core/vault.py b/unshackle/core/vault.py index 86a5088c..b4aad217 100644 --- a/unshackle/core/vault.py +++ b/unshackle/core/vault.py @@ -10,7 +10,6 @@ from urllib3.util.retry import Retry from unshackle.core import __version__ from unshackle.core.session import POOL_MAX_SIZE - RATE_LIMIT_RETRIES = 3