Commit c8370d3e authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Expanduser for BT paths while downloading the files

parent ad1d6cb4
......@@ -439,7 +439,7 @@ class TemplateTool (BaseTool):
# In case none of the above paths do have template_format_version
format_version = 1
# XXX: Download only needed in case the file is in directory
bt = self._download_local(os.path.normpath(name), id, format_version)
bt = self._download_local(os.path.expanduser(os.path.normpath(name)), id, format_version)
bt.build(no_action=True)
return bt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment