From 25d75c5d115eac93ececba5e57f25f19b98dbee0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 5 Sep 2012 10:00:01 -0400 Subject: [PATCH] Forgot to give process_time param to CopyvioCheckResult. --- earwigbot/wiki/copyvios/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/__init__.py b/earwigbot/wiki/copyvios/__init__.py index 59b0dab..906c2f5 100644 --- a/earwigbot/wiki/copyvios/__init__.py +++ b/earwigbot/wiki/copyvios/__init__.py @@ -158,7 +158,8 @@ class CopyvioMixIn(object): if article_chain.size() < 20: # Auto-fail very small articles return CopyvioCheckResult(False, best_confidence, best_match, - num_queries, article_chain, best_chains) + num_queries, 0, article_chain, + best_chains) while (chunks and best_confidence < min_confidence and (max_queries < 0 or num_queries < max_queries)):