Return self from correct_case instead of self.absolute_path.
This commit is contained in:
parent
27291df9ad
commit
9874f12a2a
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue