handle errors for OpenGraph image downloads

workspace
Brendan Howell 4 years ago
parent 275670f401
commit 5859addc46

@ -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

Loading…
Cancel
Save