Skip to content

Commit

Permalink
Refine integration Targetd/Acquire (DIS-2155)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecinestpasunepipe committed Aug 16, 2023
1 parent 7a41019 commit aaa41cc
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 @@ -1704,7 +1704,7 @@ def print_acquire_warning(target: Target) -> None:
def modargs2json(args: argparse.Namespace) -> dict:
json_opts = {}
for module in MODULES.values():
cli_arg = module.__cli_args__[0][1]
cli_arg = module.__cli_args__[-1:][0][1]
if opt := cli_arg.get("dest"):
json_opts[opt] = getattr(args, opt)
return json_opts
Expand Down

0 comments on commit aaa41cc

Please sign in to comment.