mirror of
https://github.com/devine-dl/pywidevine.git
synced 2024-12-23 11:27:51 +00:00
Remove f-string without expression, mute unused variable in Cdm
This commit is contained in:
parent
943968f2c7
commit
93cdc7f44e
@ -222,7 +222,7 @@ class Cdm:
|
||||
new(self.device.private_key). \
|
||||
decrypt(license_message.session_key)
|
||||
|
||||
enc_key, mac_key_server, mac_key_client = self.derive_keys(*context, session_key)
|
||||
enc_key, mac_key_server, _ = self.derive_keys(*context, session_key)
|
||||
|
||||
license_signature = HMAC. \
|
||||
new(mac_key_server, digestmod=SHA256). \
|
||||
|
@ -235,7 +235,7 @@ def create_device(
|
||||
file_hashes_.ParseFromString(device.client_id.vmp_data)
|
||||
log.info(f" + VMP: True ({len(file_hashes_.signatures)} signatures)")
|
||||
else:
|
||||
log.info(f" + VMP: False")
|
||||
log.info(" + VMP: False")
|
||||
log.info(f" + Saved to: {out_path.absolute()}")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user