Browse Source

Copy search_config too.

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

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

@@ -192,7 +192,7 @@ class SitesDB(object):
maxlag = config.wiki.get("maxlag") maxlag = config.wiki.get("maxlag")
wait_between_queries = config.wiki.get("waitTime", 3) wait_between_queries = config.wiki.get("waitTime", 3)
logger = self._logger.getChild(name) logger = self._logger.getChild(name)
search_config = config.wiki.get("search")
search_config = config.wiki.get("search", {}).copy()


if user_agent: if user_agent:
user_agent = user_agent.replace("$1", __version__) user_agent = user_agent.replace("$1", __version__)


Loading…
Cancel
Save