From 0cded6427fa06ae7a0c1183813c2cd461c611903 Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Sat, 10 Oct 2026 00:58:08 -0600 Subject: [PATCH] fix(cdm): simplify cached keys retrieval in CustomRemoteCDM --- unshackle/core/cdm/custom_remote_cdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unshackle/core/cdm/custom_remote_cdm.py b/unshackle/core/cdm/custom_remote_cdm.py index d4891a27..1a1d4f7a 100644 --- a/unshackle/core/cdm/custom_remote_cdm.py +++ b/unshackle/core/cdm/custom_remote_cdm.py @@ -988,7 +988,7 @@ class CustomRemoteCDM: if "vault_keys" in session: all_keys.extend(session["vault_keys"]) - if "cached_keys" in session: + if session.get("cached_keys"): all_keys.extend(session["cached_keys"]) for license_key in license_keys: