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))
|
self.__path = Pathlib(str(path))
|
||||||
|
|
||||||
if str(path).startswith('~'):
|
if str(path).startswith('~'):
|
||||||
self.__path == self.__path.expanduser()
|
self.__path = self.__path.expanduser()
|
||||||
|
|
||||||
self.json = DotDict({})
|
self.json = DotDict({})
|
||||||
self.exist = exist
|
self.exist = exist
|
||||||
|
|
Loading…
Reference in a new issue