From a729648a34f7b236146f28e3d63ccc22a7f02b08 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Thu, 21 Jul 2022 15:49:17 +0100 Subject: [PATCH] Device: Reference Structures class within Device class --- pywidevine/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pywidevine/device.py b/pywidevine/device.py index e716671..d5d85bb 100644 --- a/pywidevine/device.py +++ b/pywidevine/device.py @@ -21,7 +21,7 @@ class _Types(Enum): ANDROID = 2 -class Structures: +class _Structures: v2 = Struct( "signature" / Const(b"WVD"), "version" / Const(Int8ub, 2), @@ -63,7 +63,7 @@ class Structures: class Device: Types = _Types - + Structures = _Structures supported_structure = Structures.v2 # == Bin Format Revisions == #