Skip to content

Commit

Permalink
Fix issue with len on generator (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecinestpasunepipe authored Mar 4, 2024
1 parent d62d5bf commit 9720557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acquire/acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ def acquire_children_and_targets(target: Target, args: argparse.Namespace) -> No
progress_limit = 50 if args.auto_upload else 90
total_targets = 0
if args.children:
total_targets += len(target.list_children())
total_targets += len(list(target.list_children()))

if (args.children and not args.skip_parent) or not args.children:
total_targets += 1
Expand Down

0 comments on commit 9720557

Please sign in to comment.