From c7606472683bcdca4fc739a0932836d42f0ba372 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Wed, 24 Mar 2021 20:52:17 -0400 Subject: [PATCH] misc.Path:fix user dir expanding --- IzzyLib/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IzzyLib/misc.py b/IzzyLib/misc.py index 7045e62..4542bae 100644 --- a/IzzyLib/misc.py +++ b/IzzyLib/misc.py @@ -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