Skip to content

Commit

Permalink
cli: Fix plugin config duplicate y/n prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
half-duplex committed Nov 24, 2019
1 parent c43fe42 commit 310e325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _plugins_wizard(settings):

def _plugin_wizard(settings, plugin):
plugin.load()
prompt = 'Configure {} (y/n)? [n]'.format(plugin.get_label())
prompt = "Configure {}".format(plugin.get_label())
if plugin.has_configure() and settings.option(prompt):
plugin.configure(settings)

Expand Down

0 comments on commit 310e325

Please sign in to comment.