Ben Kurtovic 12 anni fa
parent
commit
b066be95d6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      earwigbot/wiki/sitesdb.py

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

@@ -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):


Caricamento…
Annulla
Salva