From 479dc864fd44fcfec5aadb606611b985fb79df05 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 9 Dec 2023 18:43:05 +0000 Subject: [PATCH] Remove debugging output --- add_links/match.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/add_links/match.py b/add_links/match.py index 41c9ef5..cc18fdc 100644 --- a/add_links/match.py +++ b/add_links/match.py @@ -362,9 +362,7 @@ def find_link_and_section(q: str, content: str, linkto: str | None = None): def find_refs(text: str) -> list[str]: """Find in wikitext.""" - refs = re.findall("]*)>(.+?)", text) - print(refs) return refs