mirror of
https://github.com/ThatNotEasy/PlayReadyProxy-API.git
synced 2026-04-02 10:38:16 +00:00
Update playready.py
typoooooooooo
This commit is contained in:
committed by
GitHub
parent
54e6be012a
commit
a0b338a3ca
@@ -24,7 +24,7 @@ class PLAYREADY:
|
||||
|
||||
def get_license_challenge(self):
|
||||
device = Device.load(self.device)
|
||||
cdm = Cdm.from_device(self.device)
|
||||
cdm = Cdm.from_device(device)
|
||||
pssh = PSSH(self.pssh)
|
||||
wrm_headers = pssh.get_wrm_headers(downgrade_to_v4=False)
|
||||
raw_challenge = cdm.get_license_challenge(wrm_headers[0])
|
||||
@@ -67,4 +67,4 @@ class PLAYREADY:
|
||||
return jsonify(key_pairs)
|
||||
|
||||
except Exception as e:
|
||||
return jsonify({"error": f"Unable to extract keys: {e}"}), 500
|
||||
return jsonify({"error": f"Unable to extract keys: {e}"}), 500
|
||||
|
||||
Reference in New Issue
Block a user