Fixed formatting.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 27s
CI / Type Checking (push) Successful in 8s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-05-17 14:49:37 -04:00
parent 0620c675d9
commit 33cc434354
6 changed files with 12 additions and 28 deletions
+2 -5
View File
@@ -120,8 +120,7 @@ class OwncastClient:
async with self.session.get(url, allow_redirects=False) as response:
if response.status != 200:
self.log.warning(
"[%s] Response to request on %s was not 200, "
"got %s instead.",
"[%s] Response to request on %s was not 200, got %s instead.",
domain,
path,
response.status,
@@ -159,9 +158,7 @@ class OwncastClient:
)
return None
except (aiohttp.ClientError, TimeoutError, OSError) as e:
self.log.warning(
"[%s] Error making GET request to %s: %s", domain, path, e
)
self.log.warning("[%s] Error making GET request to %s: %s", domain, path, e)
return None
async def get_stream_state(self, domain: str) -> StreamState | None: