diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/completions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/completions.py b/src/core/completions.py index bdba6362..c793fa52 100644 --- a/src/core/completions.py +++ b/src/core/completions.py @@ -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]): |