Skip to content

Commit

Permalink
fix #158
Browse files Browse the repository at this point in the history
  • Loading branch information
lemisky committed Jan 24, 2024
1 parent 55f2a1a commit 51354f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/aligo/apis/Download.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ def __download_folder(self, folder_file_id: str, local_folder: str = '.', drive_
if file_filter(file):
continue
if file.type == 'folder':
self.__download_folder(folder_file_id=file.file_id,
local_folder=os.path.join(local_folder, self._del_special_symbol(file.name)))
self.__download_folder(
folder_file_id=file.file_id, drive_id=drive_id,
local_folder=os.path.join(local_folder, self._del_special_symbol(file.name))
)
continue
files.append(file)
self.download_files(files, local_folder=local_folder)
Expand Down

0 comments on commit 51354f2

Please sign in to comment.