Lint project

This commit is contained in:
Deko
2023-03-03 20:50:53 +01:00
parent 8079262154
commit 08c0cdff5a
3 changed files with 5 additions and 9 deletions

View File

@@ -34,10 +34,8 @@ class StreamInformation:
@property
def thumbnail_url(self):
return (
self._thumbnail_url
.replace("{width}", "1280")
.replace("{height}", "720")
return self._thumbnail_url.replace("{width}", "1280").replace(
"{height}", "720"
)
@@ -145,7 +143,7 @@ class TwitchClient:
started_at=stream_data.get("started_at"),
_thumbnail_url=self._cache_prevent.prevent_cache_on_url(
url=stream_data.get("thumbnail_url"),
)
),
)
def get_vod(self, user_id: str, is_retry: bool = False) -> str | None: