From 5e40b6303190471c32157e32d7ad53624a0f18d4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 13 Feb 2017 19:18:26 +0100 Subject: Don't require parameters for the ignored args wrapper --- poezio/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/decorators.py') 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 -- cgit v1.2.3