From 2ca8f7521627c4cbebe0370f4d7f6c528a2dac17 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 19 Oct 2013 18:36:38 -0400 Subject: [PATCH] Set revision cache, too. --- tasks/afc_statistics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/afc_statistics.py b/tasks/afc_statistics.py index 026a203..f2bcdae 100644 --- a/tasks/afc_statistics.py +++ b/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")