Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
fireundubh committed May 7, 2022
2 parents 17c3793 + 3975e39 commit 40aac14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/ProjectBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _get_path(path: str, *, relative_root_path: str, fallback_path: Union[str, l
"""
if path or startswith(path, (os.curdir, os.pardir)):
path = os.path.expanduser(os.path.expandvars(path))
return path if os.path.isabs(path) else os.path.normpath(os.path.join(relative_root_path, path))
return os.path.normpath(path) if os.path.isabs(path) else os.path.normpath(os.path.join(relative_root_path, path))
if isinstance(fallback_path, list):
return os.path.abspath(os.path.join(*fallback_path))
return fallback_path
Expand Down

0 comments on commit 40aac14

Please sign in to comment.