mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-30 13:05:08 +00:00
fix(drm): end a licence with no usable key in one line for every DRM system
This commit is contained in:
@@ -6,6 +6,7 @@ from pathlib import Path
|
||||
from typing import Any, Callable, Iterable, Optional, Union
|
||||
from uuid import UUID
|
||||
|
||||
import click
|
||||
from requests import Session
|
||||
|
||||
from unshackle.core.config import config
|
||||
@@ -192,10 +193,10 @@ class ClearKeyCENC:
|
||||
class KIDNotFound(Exception):
|
||||
"""KID (Encryption Key ID) was not found."""
|
||||
|
||||
class CEKNotFound(Exception):
|
||||
class CEKNotFound(click.ClickException):
|
||||
"""CEK (Content Encryption Key) for KID was not found in License."""
|
||||
|
||||
class EmptyLicense(Exception):
|
||||
class EmptyLicense(click.ClickException):
|
||||
"""License returned no Content Encryption Keys."""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user