Handle width and height placeholders in the thumbnail URL (#136227)

pull/136407/head
Makrit 2025-01-24 07:49:33 +00:00 committed by Franck Nijhof
parent 8440a27152
commit 0512fc5e0c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class TwitchCoordinator(DataUpdateCoordinator[dict[str, TwitchUpdate]]):
stream.game_name if stream else None,
stream.title if stream else None,
stream.started_at if stream else None,
stream.thumbnail_url if stream else None,
stream.thumbnail_url.format(width="", height="") if stream else None,
channel.profile_image_url,
bool(sub),
sub.is_gift if sub else None,