Remove system_id class variable from Cdm
The variable name `system_id` conflicts with the `system_id` of the class *instance* variable. There's no need to have this variable there anyway, when it's easily accessible as bytes via `Cdm.uuid.bytes`.
This commit is contained in:
parent
65d8135e2a
commit
dfdba71caf
|
@ -31,8 +31,7 @@ from pywidevine.utils import get_binary_path
|
|||
|
||||
|
||||
class Cdm:
|
||||
system_id = b"\xed\xef\x8b\xa9\x79\xd6\x4a\xce\xa3\xc8\x27\xdc\xd5\x1d\x21\xed"
|
||||
uuid = UUID(bytes=system_id)
|
||||
uuid = UUID(bytes=b"\xed\xef\x8b\xa9\x79\xd6\x4a\xce\xa3\xc8\x27\xdc\xd5\x1d\x21\xed")
|
||||
urn = f"urn:uuid:{uuid}"
|
||||
key_format = urn
|
||||
service_certificate_challenge = b"\x08\x04"
|
||||
|
|
Loading…
Reference in New Issue