Browse Source

closes #100 - decorator not correctly handling arguments

pull/473/head
Chris 6 years ago
parent
commit
365adb2fb2
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/python_bindings/gooey_decorator.py

2
gooey/python_bindings/gooey_decorator.py

@ -90,7 +90,7 @@ def Gooey(f=None,
return inner2
def run_without_gooey(func):
return lambda: func()
return lambda *args, **kwargs: func(*args, **kwargs)
if IGNORE_COMMAND in sys.argv:
sys.argv.remove(IGNORE_COMMAND)

Loading…
Cancel
Save