Fix bug in adds context decorator missing content
The words parameter is now passed to the set_context method as intended.
@@ -30,7 +30,7 @@ def adds_context(context, words=''):
@wraps(func)
def func_wrapper(*args, **kwargs):
ret = func(*args, **kwargs)
- args[0].set_context(context)
+ args[0].set_context(context, words)
return ret
return func_wrapper
return context_add_decorator
