From 2bb5c9e0b55116039c3c5b35c21663af3454ba61 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Wed, 20 Jul 2022 20:37:04 +0100 Subject: [PATCH] Cdm: Remove unnecessary raw class instance variable --- pywidevine/cdm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pywidevine/cdm.py b/pywidevine/cdm.py index 18f2284..eac6f18 100644 --- a/pywidevine/cdm.py +++ b/pywidevine/cdm.py @@ -82,9 +82,8 @@ class Cdm: self.device = device self.init_data = pssh - self.raw = raw - if not self.raw: + if not raw: # we only want the init_data of the pssh box self.init_data = PSSH.get_as_box(pssh).init_data