Make sure to add paths from `POWERLINE_CONFIG_PATHS` to args

This commit is contained in:
ZyX 2015-01-07 01:21:59 +03:00
parent 4d35167b13
commit 972a55afc1
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ def finish_args(environ, args):
))
if args.renderer_arg:
args.renderer_arg = mergeargs((parsedotval(v) for v in args.renderer_arg), remove=True)
args.config_path = (
environ.get('POWERLINE_CONFIG_PATHS', '').split(':')
+ (args.config_path or [])
)
return args