Fix listdir call
This commit is contained in:
parent
5318285556
commit
25844a1f59
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Connection:
|
|||
Returns:
|
||||
list: List of the names of files (str) located at the provided path
|
||||
"""
|
||||
return self._sftp.listdir(str(path) if path else None)
|
||||
return self._sftp.listdir(str(path) if path else ".")
|
||||
|
||||
def _remove(self, path: Union[str, Path]) -> None:
|
||||
"""Remove a file from the Vessel
|
||||
|
|
Loading…
Reference in a new issue