From 9dc56e63c421d60e0f698ec8058d8fb6f78ad29a Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 26 Feb 2026 08:10:21 -0700 Subject: [PATCH] fix: correct formatting and add missing newlines in selector and EXAMPLE service --- unshackle/core/utils/selector.py | 2 ++ unshackle/services/EXAMPLE/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/unshackle/core/utils/selector.py b/unshackle/core/utils/selector.py index 121e5ed..2deaf23 100644 --- a/unshackle/core/utils/selector.py +++ b/unshackle/core/utils/selector.py @@ -1,10 +1,12 @@ import sys + import click from rich.console import Group from rich.live import Live from rich.padding import Padding from rich.table import Table from rich.text import Text + from unshackle.core.console import console IS_WINDOWS = sys.platform == "win32" diff --git a/unshackle/services/EXAMPLE/__init__.py b/unshackle/services/EXAMPLE/__init__.py index b7e5c3b..3259e88 100644 --- a/unshackle/services/EXAMPLE/__init__.py +++ b/unshackle/services/EXAMPLE/__init__.py @@ -325,7 +325,7 @@ class EXAMPLE(Service): return response.json().get("license") except ValueError: return response.content - + def get_playready_license(self, *, challenge: bytes, title: Title_T, track: AnyTrack) -> Optional[Union[bytes, str]]: license_url = self.config["endpoints"].get("playready_license") if not license_url: @@ -339,4 +339,4 @@ class EXAMPLE(Service): }, ) response.raise_for_status() - return response.content \ No newline at end of file + return response.content