Skip to content

Commit

Permalink
Update configargparse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 authored Apr 23, 2020
1 parent 705af2e commit fd71c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configargparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def convert_item_to_command_line_arg(self, action, key, value):

if action is None or isinstance(action, argparse._AppendAction):
for list_elem in value:
if accepts_list and isinstance(list_elem, list):
if accepts_list_and_has_nargs and isinstance(list_elem, list):
args.append(command_line_key)
for sub_elem in list_elem:
args.append(str(sub_elem))
Expand Down

0 comments on commit fd71c7e

Please sign in to comment.