From 9123fa3b8ff7f5fe159344b7dc11e9a4d727e2be Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 26 Aug 2014 10:14:27 +0200 Subject: [PATCH] Added a missing self --- flask/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask/cli.py b/flask/cli.py index fc404fcd..7e219f1e 100644 --- a/flask/cli.py +++ b/flask/cli.py @@ -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