From 068ccaa174a035cba92b18e3ec6238d9bd4bd7e6 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sat, 2 May 2020 12:21:43 +0200 Subject: [PATCH] try rolling our own image downloader for news --- 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 e4433ee..71f2bd7 100644 --- a/screenless/bureau/publications/publications.py +++ b/screenless/bureau/publications/publications.py @@ -330,7 +330,7 @@ class Publications(Bureau): else: entry.img = " " - if entry.imge != " ": + if entry.img != " ": fileext = "." + entry.img.rsplit(".",1)[1] filename = tempfile.mktemp(fileext) print("fetching", entry.img, filename)