Skip to content

Commit

Permalink
error on configure fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
NachE committed Jan 23, 2014
1 parent 15cdbb3 commit 29bccc9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions willie/modules/wikipedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 29bccc9

Please sign in to comment.