diff options
-rw-r--r-- | poezio/plugin_manager.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/plugin_manager.py b/poezio/plugin_manager.py index c9e83148..cd13e6d8 100644 --- a/poezio/plugin_manager.py +++ b/poezio/plugin_manager.py @@ -288,9 +288,8 @@ class PluginManager(object): except OSError: pass plugins_files = [ - name[:-3] for name in names - if name.endswith('.py') and name != '__init__.py' - and not name.startswith('.') + name[:-3] for name in names if name.endswith('.py') + and name != '__init__.py' and not name.startswith('.') ] plugins_files.sort() position = the_input.get_argument_position(quoted=False) |