Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaYurasov committed Sep 2, 2024
1 parent f76dce7 commit c4dcccb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbxio/blobs/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def download_blob_tree(
relative_blob_path = blob.name[len(prefix_path) + 1 :] if prefix_path else blob.name
if not relative_blob_path:
# if the prefix path is full path to one file
assert object_storage_client.blobs_path, 'blobs_path is not set'
relative_blob_path = blob.name[len(object_storage_client.blobs_path) + 1 :]

if is_dir:
Expand Down

0 comments on commit c4dcccb

Please sign in to comment.