misc.Path:fix user dir expanding

This commit is contained in:
Izalia Mae 2021-03-24 20:52:17 -04:00
parent da85c268bb
commit c760647268

View file

@ -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