Permalink
Browse files

fix: we should be using relative names

  • Loading branch information...
1 parent 4697d9f commit 3335d519bc92cf6d8707a65ec969a474ba114721 @reidrac reidrac committed Jun 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sftpcloudfs/server.py
View
@@ -86,7 +86,7 @@ def list_folder(self, path):
def stat(self, path):
stat = self.fs.stat(path)
filename = basename(path)
- return paramiko.SFTPAttributes.from_stat(stat, path)
+ return paramiko.SFTPAttributes.from_stat(stat, filename)
def lstat(self, path):
return self.stat(path)

0 comments on commit 3335d51

Please sign in to comment.