summaryrefslogtreecommitdiff
path: root/fs/osfs
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-09-16 05:26:42 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-09-16 05:26:42 +0000
commitfd7a5e4d996a24641348fea701d0dd7988997202 (patch)
treed9f1b8cb127e95c7d2c82c3837c1a5b6bc9b5916 /fs/osfs
parent981a72d185f1b10678e0c87032017b202c46ea65 (diff)
downloadpyfilesystem-fd7a5e4d996a24641348fea701d0dd7988997202.tar.gz
OSFS: decode to unicode in unsyspath()
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@427 67cdc799-7952-0410-af00-57a81ceafa0f
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