Fix getcwd when _cwd is None
This commit is contained in:
parent
676a30c298
commit
ab8d874064
|
@ -531,7 +531,7 @@ class SFTPClient (BaseSFTP):
|
||||||
|
|
||||||
@since: 1.4
|
@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):
|
def putfo(self, fl, remotepath, file_size=0, callback=None, confirm=True):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue