Do not quote the plugins on completion

This commit is contained in:
mathieui 2012-04-19 13:08:35 +02:00
parent 46c197ef7f
commit 5a1a7a567d

View file

@ -213,10 +213,10 @@ class PluginManager(object):
self.core.information(_('Completion failed: %s' % e), 'Error')
return
plugins_files = [name[:-3] for name in names if name.endswith('.py')]
return the_input.auto_completion(plugins_files, '')
return the_input.auto_completion(plugins_files, '', quotify=False)
def completion_unload(self, the_input):
"""
completion function that completes the name of the plugins that are loaded
"""
return the_input.auto_completion(list(self.plugins.keys()), '')
return the_input.auto_completion(list(self.plugins.keys()), '', quotify=False)