瀏覽代碼

Strange typo.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
08d02917f2
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      earwigbot/wiki/copyvios/workers.py

+ 2
- 2
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)."""


Loading…
取消
儲存