diff options
| author | Mayur Maheshwari (OpenERP) <mma@tinyerp.com> | 2012-10-31 17:53:04 +0530 |
|---|---|---|
| committer | Mayur Maheshwari (OpenERP) <mma@tinyerp.com> | 2012-10-31 17:53:04 +0530 |
| commit | 15035d86bbcbc6702cd369c2773a31010fc145cf (patch) | |
| tree | a48726cf5f3f00f687a64c778a5e9fd2a27ae584 /addons/document_ftp | |
| parent | 848cb19302613bfdf332721eb4346ffbad23381e (diff) | |
[FIX] document_ftp : when connecting using FTP client FileZilla and clicking on database named directory after logged in, it gives Invalid database path error
bzr revid: mma@tinyerp.com-20121031122304-6ss91ml1ncnmah1f
Diffstat (limited to 'addons/document_ftp')
| -rw-r--r-- | addons/document_ftp/ftpserver/abstracted_fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_ftp/ftpserver/abstracted_fs.py b/addons/document_ftp/ftpserver/abstracted_fs.py index dbda715f614..4665de89370 100644 --- a/addons/document_ftp/ftpserver/abstracted_fs.py +++ b/addons/document_ftp/ftpserver/abstracted_fs.py @@ -272,7 +272,7 @@ class abstracted_fs(object): if path.startswith('/'): path = path[1:] - p_parts = path.split('/') # hard-code the unix sep here, by spec. + p_parts = path.split(os.sep) # hard-code the unix sep here, by spec. assert '..' not in p_parts |
