diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-05-29 22:58:20 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-05-29 22:58:20 +0200 |
commit | b0049442eee94a1636490c091215bd706f819558 (patch) | |
tree | e44b18eddfcc0134ed4fc2b38821740617fac694 /src/web/views/api/v3/article.py | |
parent | Bugfix: it was not possible to delete a user with categories. (diff) | |
download | newspipe-b0049442eee94a1636490c091215bd706f819558.tar.gz newspipe-b0049442eee94a1636490c091215bd706f819558.tar.bz2 newspipe-b0049442eee94a1636490c091215bd706f819558.zip |
Fixed some depreciations with the new version of Flask.
Diffstat (limited to 'src/web/views/api/v3/article.py')
-rw-r--r-- | src/web/views/api/v3/article.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/api/v3/article.py b/src/web/views/api/v3/article.py index 4f9bbb8b..9a4df1ce 100644 --- a/src/web/views/api/v3/article.py +++ b/src/web/views/api/v3/article.py @@ -26,9 +26,9 @@ __revision__ = "$Date: 2016/04/29 $" __copyright__ = "Copyright (c) Cedric Bonhomme" __license__ = "GPLv3" -from flask.ext.login import current_user +from flask_login import current_user from werkzeug.exceptions import NotFound -from flask.ext.restless import ProcessingException +from flask_restless import ProcessingException from web import models from bootstrap import application, manager from web.controllers import ArticleController, FeedController |