[path] add '__str__()' method

This commit is contained in:
Mike Fährmann
2025-08-16 15:50:08 +02:00
parent 6d65c65647
commit 2d49d3d843

View File

@@ -134,6 +134,9 @@ class PathFormat():
basedir = self.clean_path(basedir)
self.basedirectory = basedir
def __str__(self):
return self.realpath
def open(self, mode="wb"):
"""Open file and return a corresponding file object"""
try: