1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:09:44 +00:00

handle None path for #256

This commit is contained in:
deadc0de6
2020-10-05 10:17:38 +02:00
parent 6d62103486
commit 1984c56907

View File

@@ -404,6 +404,8 @@ class CfgAggregator:
return None
def _norm_path(self, path):
if not path:
return path
path = os.path.expanduser(path)
path = os.path.expandvars(path)
path = os.path.abspath(path)