Fix a hidden traceback in /set completion
This commit is contained in:
parent
631f5dd42a
commit
b720a3f8ca
1 changed files with 2 additions and 1 deletions
|
@ -315,7 +315,8 @@ def completion_set(self, the_input):
|
|||
return the_input.new_completion([''], n, quotify=True)
|
||||
plugin = self.plugin_manager.plugins[plugin_name]
|
||||
end_list = set(plugin.config.options(section or plugin_name))
|
||||
end_list.update(plugin.config.default.get(section or plugin_name, {}))
|
||||
if plugin.config.default:
|
||||
end_list.update(plugin.config.default.get(section or plugin_name, {}))
|
||||
end_list = list(end_list)
|
||||
end_list.sort()
|
||||
elif not config.has_option('Poezio', args[1]):
|
||||
|
|
Loading…
Reference in a new issue