From 1a14dbb2a95ad5cbf7e349376c7d098ebf99abcd Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Mon, 26 Dec 2022 11:15:33 +0100 Subject: [PATCH] check: added search in header when '_image:NAME' in content --- src/var/lib/tyto/program/check.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/var/lib/tyto/program/check.py b/src/var/lib/tyto/program/check.py index ba355a2..2df8f21 100644 --- a/src/var/lib/tyto/program/check.py +++ b/src/var/lib/tyto/program/check.py @@ -531,7 +531,6 @@ def check_content(post_bottom): for ln, line in enumerate(post_bottom): if line.startswith('_image:'): image_id = line.rsplit(':', 1)[1].rsplit(' ')[0] - print(article_header) if not re.search(r'^image:\s|%s'%image_id, article_header): tyto.exiting("10", "image: %s"%image_id, True)