Skip to content

Commit

Permalink
Fix download path (#369)
Browse files Browse the repository at this point in the history
* fix path

* delete breakpoint()

* do not add directory to parent_directy prop
  • Loading branch information
horheynm committed Sep 25, 2023
1 parent c6ff218 commit 038a113
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sparsezoo/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,7 @@ def _get_directory_from_loose_api_files(
return None
else:
files = [
File.from_dict(
file, parent_directory=os.path.join(parent_directory, display_name)
)
File.from_dict(file, parent_directory=parent_directory)
for file in files
]
directory = directory_class(
Expand Down

0 comments on commit 038a113

Please sign in to comment.