From e99e1c1ef171ff62cd64006e7d6034901627f04b Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 29 Sep 2015 00:03:40 -0500 Subject: [PATCH] Typo fix. --- earwigbot/wiki/copyvios/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/parsers.py b/earwigbot/wiki/copyvios/parsers.py index 49bc4af..cafc746 100644 --- a/earwigbot/wiki/copyvios/parsers.py +++ b/earwigbot/wiki/copyvios/parsers.py @@ -110,7 +110,7 @@ class ArticleTextParser(_BaseTextParser): remove(wikicode, tag) # Merge in template contents when the values are long: - self._merge_templates(code) + self._merge_templates(wikicode) clean = wikicode.strip_code(normalize=True, collapse=True) self.clean = re.sub("\n\n+", "\n", clean).strip()