瀏覽代碼

Pass parameter to recursive call.

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

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

@@ -155,7 +155,7 @@ class ExclusionsDB(object):
log = u"Database for {0} is still fresh (last updated {1} seconds ago)"
self._logger.debug(log.format(sitename, time_since_update))
if sitename != "all":
self.sync("all")
self.sync("all", force=force)

def check(self, sitename, url):
"""Check whether a given URL is in the exclusions database.


Loading…
取消
儲存