Skip to content

Commit 27ee680

Browse files
Refine integration Targetd/Acquire (#89)
(DIS-2155)
1 parent 7a41019 commit 27ee680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acquire/acquire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ def print_acquire_warning(target: Target) -> None:
17041704
def modargs2json(args: argparse.Namespace) -> dict:
17051705
json_opts = {}
17061706
for module in MODULES.values():
1707-
cli_arg = module.__cli_args__[0][1]
1707+
cli_arg = module.__cli_args__[-1:][0][1]
17081708
if opt := cli_arg.get("dest"):
17091709
json_opts[opt] = getattr(args, opt)
17101710
return json_opts

0 commit comments

Comments
 (0)