Skip to content

Commit

Permalink
set -> dict
Browse files Browse the repository at this point in the history
  • Loading branch information
vorozhkog committed Oct 30, 2024
1 parent e646aae commit dcff0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def create_ds_recursive(ds_tree, dst_project, parent_id=None):
src_ds_tree = g.Api.dataset.get_tree(src_project.id)
if g.STATE.selected_dataset:
selected_dsinfo = get_selected_ds(src_ds_tree, g.STATE.selected_dataset)
src_ds_tree = {selected_dsinfo, None}
src_ds_tree = {selected_dsinfo: None}

if src_project.type == str(sly.ProjectType.IMAGES):
run_func = run_images
Expand Down

0 comments on commit dcff0b8

Please sign in to comment.