diff --git a/unshackle/commands/prd.py b/unshackle/commands/prd.py index 3b8c037..e8dcf1a 100644 --- a/unshackle/commands/prd.py +++ b/unshackle/commands/prd.py @@ -5,10 +5,10 @@ from typing import Optional import click import requests from Crypto.Random import get_random_bytes +from pyplayready import InvalidCertificateChain, OutdatedDevice from pyplayready.cdm import Cdm from pyplayready.crypto.ecc_key import ECCKey from pyplayready.device import Device -from pyplayready import InvalidCertificateChain, OutdatedDevice from pyplayready.system.bcert import Certificate, CertificateChain from pyplayready.system.pssh import PSSH diff --git a/unshackle/core/__main__.py b/unshackle/core/__main__.py index 7aac73e..e4717fa 100644 --- a/unshackle/core/__main__.py +++ b/unshackle/core/__main__.py @@ -1,9 +1,3 @@ -import warnings - -# Suppress SyntaxWarning from unmaintained tinycss package (dependency of subby) -# Must be set before any imports that might trigger tinycss loading -warnings.filterwarnings("ignore", category=SyntaxWarning, module="tinycss") - import atexit import logging from pathlib import Path