Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot authored Feb 29, 2024
1 parent 07d82df commit 1b8bb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def download_as_sly(api: sly.Api, task_id, context, state, app_logger):
raise Exception(f"Dataset with ID {DATASET_ID} not found in your account")
else:
try:
datasets = api.dataset.get_list(project.id)
datasets = api.dataset.get_list(project.id, recursive=True)
except Exception as e:
raise Exception(f"Failed to get list of datasets from project ID:{project.id}. {e}")
dataset_ids = [dataset.id for dataset in datasets]
Expand Down

0 comments on commit 1b8bb5d

Please sign in to comment.