diff --git a/pywidevine/pssh.py b/pywidevine/pssh.py index 4261b89..32c619f 100644 --- a/pywidevine/pssh.py +++ b/pywidevine/pssh.py @@ -254,6 +254,7 @@ class PSSH: key_ids = [ x.text for x in prr_header.findall("./wrm:DATA/wrm:KID", wrm_ns) + if x.text ] elif prr_header_version == "4.1.0.0": key_ids = [