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: