From c379aa3cb56e186d065abb84aef7b6bf37787f99 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 30 Oct 2011 00:20:56 -0400 Subject: [PATCH] Fix again! --- bot/tasks/afc_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/tasks/afc_statistics.py b/bot/tasks/afc_statistics.py index a703e37..04b55c5 100644 --- a/bot/tasks/afc_statistics.py +++ b/bot/tasks/afc_statistics.py @@ -22,7 +22,7 @@ class Task(BaseTask): number = 2 def __init__(self): - self.cfg = config.tasks.get(self.name, {}) + self.cfg = cfg = config.tasks.get(self.name, {}) # Set some wiki-related attributes: self.pagename = cfg.get("page", "Template:AFC statistics")