Fix - Download Method
Download folder without create blank files for each directory.
@@ -100,6 +100,7 @@ class DirectoryClient:
print(f'Downloading {source} to {blob_dest}')
os.makedirs(os.path.dirname(blob_dest), exist_ok=True)
bc = self.client.get_blob_client(blob=source)
+ if not dest.endswith('/'):
with open(blob_dest, 'wb') as file:
data = bc.download_blob()
file.write(data.readall())
