[fix] 500px: crashes when there's no description (#6745)

This commit is contained in:
Bnyro authored and GitHub committed 2026-09-18 07:42:08 +02:00
1 parent fc028154a4
commit 087ec6fbda
1 file changed
+1 -1
+1 -1
View File
@@ -143,7 +143,7 @@ def response(resp: "SXNG_Response"):
thumbnail_src=image_urls[0],
img_src=image_urls[-1],
title=node["title"],
content=node["description"],
content=node["description"] or "",
author=node["uploader"]["displayName"],
resolution=f"{node['width']}x{node['height']}",
)