Added a missing self

This commit is contained in:
Armin Ronacher 2014-08-26 10:14:27 +02:00
parent 32f2f70a7d
commit 3b8acece5a

View file

@ -303,7 +303,7 @@ class AppGroup(click.Group):
def decorator(f):
if wrap_for_ctx:
f = with_appcontext(f)
return click.Group.command(*args, **kwargs)(f)
return click.Group.command(self, *args, **kwargs)(f)
return decorator