From 365adb2fb29b5f4e349147e50c3a0146415f71f6 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 17 Mar 2019 14:22:21 -0700 Subject: [PATCH] closes #100 - decorator not correctly handling arguments --- gooey/python_bindings/gooey_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/python_bindings/gooey_decorator.py b/gooey/python_bindings/gooey_decorator.py index 671e1f2..f5fe0fe 100644 --- a/gooey/python_bindings/gooey_decorator.py +++ b/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)