fix unconfigured plugin path case

We tried to expand paths for None- ensure we're not passing [None] in that case, but [] instead.
pull/15257/head
nitzmahone 8 years ago
parent dbc5cc9d7a
commit 700db15452

@ -64,8 +64,10 @@ class PluginLoader:
self.subdir = subdir
self.aliases = aliases
if not isinstance(config, list):
if config and not isinstance(config, list):
config = [config]
else:
config = []
self.config = config

Loading…
Cancel
Save