Merge pull request #1313 from homeworkprod/patch-1

Added missing import.
This commit is contained in:
Markus Unterwaditzer 2015-01-13 17:58:14 +01:00
commit b68dc78d09

View file

@ -276,7 +276,7 @@ having to change some code. This can trivially be accomplished with
hooking the :data:`flask.appcontext_pushed` signal::
from contextlib import contextmanager
from flask import appcontext_pushed
from flask import appcontext_pushed, g
@contextmanager
def user_set(app, user):