Browse Source

quote subparser name

pull/119/head
Alexander Gordeyev 9 years ago
parent
commit
782d24237f
1 changed files with 3 additions and 1 deletions
  1. 4
      gooey/gui/windows/layouts.py

4
gooey/gui/windows/layouts.py

@ -6,6 +6,8 @@ from gooey.gui import events
from gooey.gui.windows.advanced_config import ConfigPanel
from gooey.gui.windows.sidebar import Sidebar
from gooey.gui.util import wx_util
from gooey.gui.util.quoting import quote
basic_config = {
'required': [{
@ -77,7 +79,7 @@ class ColumnLayout(wx.Panel):
return panels
def GetOptions(self):
return '{} {}'.format(self.active_panel, self.config_panels[self.active_panel].GetOptions())
return '{} {}'.format(quote(self.active_panel), self.config_panels[self.active_panel].GetOptions())
def GetRequiredArgs(self):
return self.config_panels[self.active_panel].GetRequiredArgs()

Loading…
Cancel
Save