From 29bccc9a91dbbd19f36ef688a6a29c9417dcb9f1 Mon Sep 17 00:00:00 2001 From: "J.A. NachE" Date: Thu, 23 Jan 2014 18:55:22 +0100 Subject: [PATCH] error on configure fixed --- willie/modules/wikipedia.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/willie/modules/wikipedia.py b/willie/modules/wikipedia.py index f739200516..be9c6455f8 100644 --- a/willie/modules/wikipedia.py +++ b/willie/modules/wikipedia.py @@ -22,10 +22,9 @@ def configure(config): config.add_section('wikipedia') config.interactive_add('wikipedia', 'default_lang', 'Wikipedia default language', 'en') - - if config.option('Would you like to configure individual default language per channel', False): - c = 'Enter #channel:lang, one at time. When done, hit enter again.' - config.add_list('wikipedia', 'lang_per_channel', c, 'Channel:') + if config.option('Would you like to configure individual default language per channel', False): + c = 'Enter #channel:lang, one at time. When done, hit enter again.' + config.add_list('wikipedia', 'lang_per_channel', c, 'Channel:') def mw_search(server, query, num): """