瀏覽代碼

Set revision cache, too.

pull/15/head
Ben Kurtovic 10 年之前
父節點
當前提交
2ca8f75216
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      tasks/afc_statistics.py

+ 1
- 0
tasks/afc_statistics.py 查看文件

@@ -55,6 +55,7 @@ class AFCStatistics(Task):
def setup(self):
self.cfg = cfg = self.config.tasks.get(self.name, {})
self.site = self.bot.wiki.get_site()
self.revision_cache = {}

# Set some wiki-related attributes:
self.pagename = cfg.get("page", "Template:AFC statistics")


Loading…
取消
儲存