Skip to content
Snippets Groups Projects
Commit 99f3aea1 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Expand paths strings to fs dirs

parent f6021532
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,10 @@ def get_config(args):
conf = _get_default_config()
conf = _get_default_logging_config(conf=conf)
conf = _get_user_config(args, conf=conf)
# it is only needed to expand user and vars to have the rest of the
# paths correctly expanded too
conf['paths']['sbws_home'] = os.path.expanduser(os.path.expandvars(
conf['paths']['sbws_home']))
return conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment