Use import from its new location

Making this change gets rid of a deprecation warning from our logs.
This commit is contained in:
Chris Hill-Scott
2017-07-26 11:02:57 +01:00
parent 66196420d7
commit ce114f1342

View File

@@ -481,7 +481,7 @@ def register_errorhandlers(application):
def setup_event_handlers():
from flask.ext.login import user_logged_in
from flask_login import user_logged_in
from app.event_handlers import on_user_logged_in
user_logged_in.connect(on_user_logged_in)