Browse Source

Don't convert subparser name to lower case

pull/196/merge
Jonathan Schultz 7 years ago
committed by Chris
parent
commit
7ff75cb473
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/python_bindings/argparse_to_json.py

2
gooey/python_bindings/argparse_to_json.py

@ -62,7 +62,7 @@ def convert(parser):
layout_type = 'column'
layout_data = OrderedDict(
(choose_name(name, sub_parser), {
'command': name.lower(),
'command': name,
'contents': process(sub_parser, getattr(sub_parser, 'widgets', {}))
}) for name, sub_parser in get_subparser(actions).choices.iteritems())

Loading…
Cancel
Save