mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
Fix for bug #645, correct path handling logic so that it works from sshfs
This commit is contained in:
parent
9ab4aa9016
commit
3035dfb8ed
@ -314,9 +314,8 @@ class SFTPHandler:
|
||||
return d
|
||||
|
||||
def _convert_sftp_path(self, pathstring):
|
||||
assert pathstring[0] == "/"
|
||||
pathstring = pathstring.strip("/")
|
||||
if pathstring == "":
|
||||
if pathstring == "" or ".":
|
||||
path = []
|
||||
else:
|
||||
path = pathstring.split("/")
|
||||
|
Loading…
x
Reference in New Issue
Block a user