From b066be95d6f2515167270aaa0cff007bc67171a0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 9 Apr 2012 19:53:00 -0400 Subject: [PATCH] Fix --- earwigbot/wiki/sitesdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/earwigbot/wiki/sitesdb.py b/earwigbot/wiki/sitesdb.py index 2fbf1a2..dcdcf1e 100644 --- a/earwigbot/wiki/sitesdb.py +++ b/earwigbot/wiki/sitesdb.py @@ -57,8 +57,8 @@ class SitesDB(object): self.config = bot.config self._logger = bot.logger.getChild("wiki") self._sites = {} # Internal site cache - self._sitesdb = path.join(config.root_dir, "sites.db") - self._cookie_file = path.join(config.root_dir, ".cookies") + self._sitesdb = path.join(bot.config.root_dir, "sites.db") + self._cookie_file = path.join(bot.config.root_dir, ".cookies") self._cookiejar = None def _get_cookiejar(self):