mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 04:16:11 +00:00
handle None path for #256
This commit is contained in:
@@ -404,6 +404,8 @@ class CfgAggregator:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def _norm_path(self, path):
|
def _norm_path(self, path):
|
||||||
|
if not path:
|
||||||
|
return path
|
||||||
path = os.path.expanduser(path)
|
path = os.path.expanduser(path)
|
||||||
path = os.path.expandvars(path)
|
path = os.path.expandvars(path)
|
||||||
path = os.path.abspath(path)
|
path = os.path.abspath(path)
|
||||||
|
|||||||
Reference in New Issue
Block a user