aboutsummaryrefslogtreecommitdiff
path: root/src/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.py')
-rwxr-xr-xsrc/manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/manager.py b/src/manager.py
index d5e91d70..98161555 100755
--- a/src/manager.py
+++ b/src/manager.py
@@ -5,8 +5,8 @@ import os
import logging
from werkzeug import generate_password_hash
from bootstrap import application, db, conf
-from flask.ext.script import Manager
-from flask.ext.migrate import Migrate, MigrateCommand
+from flask_script import Manager
+from flask_migrate import Migrate, MigrateCommand
import web.models
from web.controllers import FeedController, UserController
@@ -54,7 +54,7 @@ def fetch_asyncio(user_id, feed_id):
import asyncio
with application.app_context():
- from flask.ext.login import current_user
+ from flask_login import current_user
from crawler import classic_crawler
ucontr = UserController()
users = []
bgstack15