Browse Source

Added a missing self

pull/1161/head
Armin Ronacher 10 years ago
parent
commit
9123fa3b8f
  1. 2
      flask/cli.py

2
flask/cli.py

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

Loading…
Cancel
Save