Fix getcwd when _cwd is None

This commit is contained in:
Scott Maxwell 2014-01-16 19:09:13 -08:00
parent 676a30c298
commit ab8d874064
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ class SFTPClient (BaseSFTP):
@since: 1.4
"""
return u(self._cwd)
return self._cwd and u(self._cwd)
def putfo(self, fl, remotepath, file_size=0, callback=None, confirm=True):
"""