From 08d02917f29b2f2385d57218a315ecb2e53269e9 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 17 Oct 2014 00:00:36 -0500 Subject: [PATCH] Strange typo. --- earwigbot/wiki/copyvios/workers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/earwigbot/wiki/copyvios/workers.py b/earwigbot/wiki/copyvios/workers.py index 24d53cf..e30f512 100644 --- a/earwigbot/wiki/copyvios/workers.py +++ b/earwigbot/wiki/copyvios/workers.py @@ -288,8 +288,8 @@ class CopyvioWorkspace(object): return (delta - 50) / delta d_size = float(delta.size) - return abs(conf_with_article_and_delta(self._article.size, d_size), - conf_with_delta(d_size)) + return abs(max(conf_with_article_and_delta(self._article.size, d_size), + conf_with_delta(d_size))) def _finish_early(self): """Finish handling links prematurely (if we've hit min_confidence)."""