Skip to content

Commit 90936eb

Browse files
pkscoutkodiai[bot]
andauthored
Update metadata.tvshows.themoviedb.org.python/libs/data_utils.py
Co-authored-by: kodiai[bot] <260572656+kodiai[bot]@users.noreply.github.com>
1 parent 9999812 commit 90936eb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

metadata.tvshows.themoviedb.org.python/libs/data_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ def set_show_artwork(show_info, list_item):
214214
fanart_list = []
215215
for image in image_list:
216216
theurl, previewurl = get_image_urls(image)
217-
fanart_list.append({'image': theurl})
217+
theurl, previewurl = get_image_urls(image)
218+
if theurl:
219+
fanart_list.append({'image': theurl})
218220
if fanart_list:
219221
vtag.setAvailableFanart(fanart_list)
220222
else:

0 commit comments

Comments
 (0)