Skip to content

Commit 62e68e8

Browse files
committed
add api key to dandi download call to fix keyring bug
1 parent 85195e0 commit 62e68e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databook_utils/dandi_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def dandi_download_open(dandiset_id, dandi_filepath, download_loc=None, dandi_ap
3131
if os.path.exists(filepath) and not force_overwrite:
3232
print("File already exists")
3333
else:
34-
download.download(file_url, output_dir=download_loc)
34+
download.download(file_url, output_dir=download_loc, dandi_api_key=dandi_api_key)
3535
print(f"Downloaded file to {filepath}")
3636

3737
print("Opening file")

0 commit comments

Comments
 (0)