Browse Source

Fix unbuffered flag regression introduced in 7229b4

pull/128/head
chriskiehl 9 years ago
parent
commit
97f4fc70b8
1 changed files with 3 additions and 3 deletions
  1. 6
      gooey/python_bindings/config_generator.py

6
gooey/python_bindings/config_generator.py

@ -8,10 +8,10 @@ from gooey.gui.util.quoting import quote
def create_from_parser(parser, source_path, **kwargs):
show_config = kwargs.get('show_config', False)
if source_path.endswith(".py"):
run_cmd = '{} {}'.format(quote(sys.executable), quote(source_path))
else:
if hasattr(sys, 'frozen'):
run_cmd = quote(source_path)
else:
run_cmd = '{} -u {}'.format(quote(sys.executable), quote(source_path))
build_spec = {
'language': kwargs.get('language', 'english'),

Loading…
Cancel
Save