summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/completions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/completions.py b/src/core/completions.py
index ca0bb41e..bc21a6c0 100644
--- a/src/core/completions.py
+++ b/src/core/completions.py
@@ -324,7 +324,7 @@ def completion_set(self, the_input):
if '|' in args[1]:
plugin_name, section = args[1].split('|')[:2]
if not plugin_name in self.plugin_manager.plugins:
- return the_input.auto_completion([''], n, quotify=True)
+ return the_input.new_completion([''], n, quotify=True)
plugin = self.plugin_manager.plugins[plugin_name]
end_list = plugin.config.options(section or plugin_name)
elif not config.has_option('Poezio', args[1]):
@@ -339,7 +339,7 @@ def completion_set(self, the_input):
if '|' in args[1]:
plugin_name, section = args[1].split('|')[:2]
if not plugin_name in self.plugin_manager.plugins:
- return the_input.auto_completion([''], n, quotify=True)
+ return the_input.new_completion([''], n, quotify=True)
plugin = self.plugin_manager.plugins[plugin_name]
end_list = [plugin.config.get(args[2], '', section or plugin_name), '']
else: