Browse Source

Merge pull request #47 from timeartist/patch-1

Fixing Exception
pull/48/head
Chris 10 years ago
parent
commit
989e108d9e
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/gui/components.py

2
gooey/gui/components.py

@ -178,7 +178,7 @@ class Choice(AbstractComponent):
if self._widget.GetValue() == self._DEFAULT_VALUE:
return None
return ' '.join(
[self._action.option_strings[0], # get the verbose copy if available
[self._action.option_strings[0] if self._action.option_strings else '', # get the verbose copy if available
self._widget.GetValue()])
def BuildInputWidget(self, parent, action):

Loading…
Cancel
Save