Browse Source

Fix

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
b066be95d6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      earwigbot/wiki/sitesdb.py

+ 2
- 2
earwigbot/wiki/sitesdb.py View File

@@ -57,8 +57,8 @@ class SitesDB(object):
self.config = bot.config self.config = bot.config
self._logger = bot.logger.getChild("wiki") self._logger = bot.logger.getChild("wiki")
self._sites = {} # Internal site cache 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 self._cookiejar = None


def _get_cookiejar(self): def _get_cookiejar(self):


Loading…
Cancel
Save