summaryrefslogtreecommitdiff
path: root/fs/osfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/osfs')
-rw-r--r--fs/osfs/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/osfs/__init__.py b/fs/osfs/__init__.py
index 820e16c..ef8b7cb 100644
--- a/fs/osfs/__init__.py
+++ b/fs/osfs/__init__.py
@@ -138,6 +138,7 @@ class OSFS(OSFSXAttrMixin, OSFSWatchMixin, FS):
"""
path = os.path.normpath(os.path.abspath(path))
+ path = self._decode_path(path)
prefix = os.path.normcase(self.root_path)
if not prefix.endswith(os.path.sep):
prefix += os.path.sep