Browse Source

Set revision cache, too.

pull/15/head
Ben Kurtovic 11 years ago
parent
commit
2ca8f75216
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tasks/afc_statistics.py

+ 1
- 0
tasks/afc_statistics.py View File

@@ -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…
Cancel
Save