diff options
| author | tassaron | 2017-07-05 06:45:30 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-05 06:45:30 -0400 |
| commit | 3f7ead0d1f6be4f6b688cd05e75b69b61b15f861 (patch) | |
| tree | 5cd7611aa9a6ce9779a56472ed35e3dd24be5143 /src | |
| parent | 52f0f96f16e935e636431b18c855291879fcc0ff (diff) | |
fixed syntax error
again...
Diffstat (limited to 'src')
| -rw-r--r-- | src/toolkit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolkit.py b/src/toolkit.py index 5cfd5ee..798a5b5 100644 --- a/src/toolkit.py +++ b/src/toolkit.py @@ -35,13 +35,13 @@ def hideCmdWin(func): ''' Stops CMD window from appearing on Windows. Adapted from here: http://code.activestate.com/recipes/409002/ ''' - def decorator(func, commandList, **kwargs): + def decorator(commandList, **kwargs): if sys.platform == 'win32': startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW kwargs['startupinfo'] = startupinfo return func(commandList, **kwargs) - return func + return decorator @hideCmdWin |
