summaryrefslogtreecommitdiff
path: root/poezio/decorators.py
diff options
context:
space:
mode:
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