Skip to content

Commit

Permalink
Make download() navigate assets strictly
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 28, 2021
1 parent 58f7891 commit 936e36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandi/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def download_generator(
"""

with parsed_url.navigate() as (client, dandiset, assets):
with parsed_url.navigate(strict=True) as (client, dandiset, assets):
if assets_it:
assets_it.gen = assets
assets = assets_it
Expand Down

0 comments on commit 936e36b

Please sign in to comment.