misc.Path:fix user dir expanding
This commit is contained in:
parent
da85c268bb
commit
c760647268
|
@ -323,7 +323,7 @@ class Path(object):
|
|||
self.__path = Pathlib(str(path))
|
||||
|
||||
if str(path).startswith('~'):
|
||||
self.__path == self.__path.expanduser()
|
||||
self.__path = self.__path.expanduser()
|
||||
|
||||
self.json = DotDict({})
|
||||
self.exist = exist
|
||||
|
|
Loading…
Reference in a new issue