diff --git a/plumbum/path/local.py b/plumbum/path/local.py index d93cf5601..cad7efd6c 100644 --- a/plumbum/path/local.py +++ b/plumbum/path/local.py @@ -58,6 +58,9 @@ def __new__(cls, *parts): cls, os.path.normpath(os.path.join(*(str(p) for p in parts)))) return self + def __fspath__(self): + return self._path() + @property def _path(self): return str(self)