diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index e01c07e..c017dc1 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -228,7 +228,7 @@ class Publications(Bureau): og_data = self._get_ogdata(entry.link) if hasattr(entry, "media_thumbnail"): entry.img = entry.media_thumbnail[-1]["url"] - elif hasattr(og_data, "image"): + elif "image" in og_data: entry.img = og_data["image"] else: entry.img = " "