From 81313e7a7964954780740c7a7e4fddd9ca0dd5ad Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 15:52:43 -0400 Subject: [PATCH] Copy search_config too. --- earwigbot/wiki/sitesdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/sitesdb.py b/earwigbot/wiki/sitesdb.py index 55b90bc..a858e59 100644 --- a/earwigbot/wiki/sitesdb.py +++ b/earwigbot/wiki/sitesdb.py @@ -192,7 +192,7 @@ class SitesDB(object): maxlag = config.wiki.get("maxlag") wait_between_queries = config.wiki.get("waitTime", 3) logger = self._logger.getChild(name) - search_config = config.wiki.get("search") + search_config = config.wiki.get("search", {}).copy() if user_agent: user_agent = user_agent.replace("$1", __version__)