From 7ff75cb473fba29e30b1e92c5f171b21bcf73d69 Mon Sep 17 00:00:00 2001 From: Jonathan Schultz Date: Tue, 27 Jun 2017 07:00:44 +1000 Subject: [PATCH] Don't convert subparser name to lower case --- gooey/python_bindings/argparse_to_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/python_bindings/argparse_to_json.py b/gooey/python_bindings/argparse_to_json.py index 7b13a30..8117947 100644 --- a/gooey/python_bindings/argparse_to_json.py +++ b/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())