[DMS]fixing_bug_324823

bzr revid: hmo@tinyerp.com-20090414084750-a6nm5it3zopn2ozk
This commit is contained in:
Harry (Open ERP) 2009-04-14 14:17:50 +05:30
parent c882bf7db6
commit a8dff49ae1
1 changed files with 3 additions and 3 deletions

View File

@ -200,8 +200,8 @@ class abstracted_fs:
return res
# Ok
def fs2ftp(self, node):
res = node and ('/' + node.cr.dbname + '/' + _to_decode(node.path)) or '/'
def fs2ftp(self, node):
res = node and ('/' + node.cr.dbname + '/' + _to_decode(self.ftpnorm(node.path))) or '/'
return res
# Ok
@ -343,7 +343,7 @@ class abstracted_fs:
# Ok
def chdir(self, path):
def chdir(self, path):
if not path:
self.cwd='/'
return None