Skip to content

Commit

Permalink
Fix recursion error
Browse files Browse the repository at this point in the history
  • Loading branch information
REDxEYE committed Nov 21, 2024
1 parent 7ebb8d8 commit 2fef027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/utils/tiny_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def open(self, mode='r', buffering=-1, encoding=None,
return open(self, mode, buffering, encoding, errors, newline)

def as_posix(self):
return self
return str(self)

def exists(self):
return os.path.exists(self)
Expand Down

0 comments on commit 2fef027

Please sign in to comment.