From 9874f12a2a647b3f93ddefb67ca4bda23fe1b4d2 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 2 Sep 2020 09:11:49 -0700 Subject: [PATCH] Return self from correct_case instead of self.absolute_path. --- voussoirkit/pathclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/pathclass.py b/voussoirkit/pathclass.py index 616b67e..86d930e 100644 --- a/voussoirkit/pathclass.py +++ b/voussoirkit/pathclass.py @@ -138,7 +138,7 @@ class Path: def correct_case(self): self.absolute_path = get_path_casing(self.absolute_path) self.absolute_path = self.absolute_path.replace('/', self.sep).replace('\\', self.sep) - return self.absolute_path + return self @property def depth(self):