Skip to content

Commit 4ae25e8

Browse files
committed
Yandex: BugFix with with type display | fcloud files
1 parent 4293c93 commit 4ae25e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fcloud/drivers/yandex/yandex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def get_all_files(self, remote_path: Path) -> list[CloudObj]:
8686
CloudObj(
8787
name=file.name,
8888
size=file.size,
89-
is_directory=file.media_type == "folder",
89+
is_directory=file.type == "dir",
9090
modifed=file.modified,
9191
)
9292
for file in self._app.listdir(str(remote_path))

0 commit comments

Comments
 (0)