From 5cc4a207b6b267a4ed43dce2bab6b6bbf8c2430a Mon Sep 17 00:00:00 2001 From: Fabian Schilling Date: Tue, 2 Nov 2021 22:15:04 +0100 Subject: [PATCH] Respect maximum 79 char line length --- app/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index 27e2cd8..0f25c65 100644 --- a/app/filter.py +++ b/app/filter.py @@ -334,7 +334,7 @@ class Filter: for item in results_all: urls = item.find('a')['href'].split('&imgrefurl=') - # Skip cases in which `urls` is not a two-element list of `[img_url, web_page]` + # Skip urls that are not two-element lists if len(urls) != 2: continue