summaryrefslogtreecommitdiff
path: root/poezio/decorators.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-13 19:18:26 +0100
committermathieui <mathieui@mathieui.net>2017-02-13 19:21:16 +0100
commit5e40b6303190471c32157e32d7ad53624a0f18d4 (patch)
tree6b76ae7d131477592182247d3b2327a03282d451 /poezio/decorators.py
parent1cc741c0c19c814de8c5bf581c380311432c8be4 (diff)
downloadpoezio-5e40b6303190471c32157e32d7ad53624a0f18d4.tar.gz
poezio-5e40b6303190471c32157e32d7ad53624a0f18d4.tar.bz2
poezio-5e40b6303190471c32157e32d7ad53624a0f18d4.tar.xz
poezio-5e40b6303190471c32157e32d7ad53624a0f18d4.zip
Don't require parameters for the ignored args wrapper
Diffstat (limited to 'poezio/decorators.py')
-rw-r--r--poezio/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/decorators.py b/poezio/decorators.py
index 87c9910e..e824a8f1 100644
--- a/poezio/decorators.py
+++ b/poezio/decorators.py
@@ -63,7 +63,7 @@ class CommandArgParser(object):
"""
Call the function without any argument
"""
- def wrap(self, args, *a, **kw):
+ def wrap(self, args=None, *a, **kw):
return func(self, *a, **kw)
return wrap