fix: correct formatting and add missing newlines in selector and EXAMPLE service

This commit is contained in:
Andy
2026-02-26 08:10:21 -07:00
parent 31f8532131
commit 9dc56e63c4
2 changed files with 4 additions and 2 deletions

View File

@@ -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
return response.content