瀏覽代碼

Fix; should always return a float.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
065d9ea498
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

+ 1
- 1
earwigbot/wiki/copyvios/workers.py 查看文件

@@ -290,7 +290,7 @@ class CopyvioWorkspace(object):

d_size = float(delta.size)
return max(conf_with_article_and_delta(self._article.size, d_size),
conf_with_delta(d_size), 0)
conf_with_delta(d_size), 0.0)

def _finish_early(self):
"""Finish handling links prematurely (if we've hit min_confidence)."""


Loading…
取消
儲存