From d7db4f30391ec68104f850a25b27806d4dd445ea Mon Sep 17 00:00:00 2001 From: chriskiehl Date: Tue, 17 Mar 2015 19:49:13 -0400 Subject: [PATCH] Fixed duplication bug - issue #78 --- gooey/python_bindings/argparse_to_json.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gooey/python_bindings/argparse_to_json.py b/gooey/python_bindings/argparse_to_json.py index ee05c52..ce11fa6 100644 --- a/gooey/python_bindings/argparse_to_json.py +++ b/gooey/python_bindings/argparse_to_json.py @@ -119,6 +119,7 @@ def get_optionals_without_choices(actions): for action, widget in actions if action.option_strings and not action.choices + and not action.required and not isinstance(action, _CountAction) and not isinstance(action, _HelpAction) and type(action) not in boolean_actions