Browse Source

Remove leftover reference to `type_arg_widget`.

argparse_to_json.py:

    return supplied_widget or type_arg_widget or default
pull/473/head
changeling 6 years ago
committed by Chris
parent
commit
dd7cd5638f
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

@ -277,7 +277,7 @@ def categorize(actions, widget_dict, options):
def get_widget(widgets, action, default):
supplied_widget = widgets.get(action.dest, None)
return supplied_widget or type_arg_widget or default
return supplied_widget or default
def is_required(action):

Loading…
Cancel
Save