diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-09-13 22:08:55 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-09-13 22:08:55 +0000 |
commit | 3caf5ee4ff00f2f64c0a2e5f7429d7a3f5555d1c (patch) | |
tree | 984e8de190ed14a8b3d694b82781b13aa91dc2b0 /fs/expose | |
parent | 8200800c1160a5d6acde0080fc0f89cf9463bb5b (diff) | |
download | pyfilesystem-3caf5ee4ff00f2f64c0a2e5f7429d7a3f5555d1c.tar.gz |
fs.expose.dokan: normalise drive string passed into dokan.unmount
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@720 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/expose')
-rw-r--r-- | fs/expose/dokan/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/expose/dokan/__init__.py b/fs/expose/dokan/__init__.py index 40cc1b3..cecb298 100644 --- a/fs/expose/dokan/__init__.py +++ b/fs/expose/dokan/__init__.py @@ -950,6 +950,7 @@ def unmount(drive): It works but may leave dangling processes; its better to use the "unmount" method on the MountProcess class if you have one. """ + drive = _normalise_drive_string(drive) if not libdokan.DokanUnmount(drive): raise OSError("filesystem could not be unmounted: %s" % (drive,)) |