Added a missing self

This commit is contained in:
Armin Ronacher 2014-08-26 10:14:27 +02:00
parent 2f60124894
commit 9123fa3b8f

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