From 5859addc4631bc6d25e2067d0254770a110ea625 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sat, 20 Jun 2020 12:06:58 +0200 Subject: [PATCH] handle errors for OpenGraph image downloads --- screenless/bureau/publications/publications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/publications/publications.py b/screenless/bureau/publications/publications.py index 9f8dfa1..328c26a 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -340,7 +340,7 @@ class Publications(Bureau): entry.img = "file://" + filename except urllib.error.HTTPError as err: self.log.error(err) - entry.img = "" + entry.img = " " return entry