diff options
Diffstat (limited to 'flup/resolver/function.py')
-rw-r--r-- | flup/resolver/function.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flup/resolver/function.py b/flup/resolver/function.py index 537caa3..a759926 100644 --- a/flup/resolver/function.py +++ b/flup/resolver/function.py @@ -39,7 +39,8 @@ class FunctionResolver(Resolver): Can be used as a decorator and might actually have uses when used with the ComplexResolver. """ - def __init__(self, func): + def __init__(self, func, **kw): + super(FunctionResolver, self).__init__(**kw) self._func = func def resolve(self, request, redirect=False): |