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/v2/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/v2/article.py')
-rw-r--r-- | src/web/views/api/v2/article.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/api/v2/article.py b/src/web/views/api/v2/article.py index 71201538..2be286c6 100644 --- a/src/web/views/api/v2/article.py +++ b/src/web/views/api/v2/article.py @@ -2,7 +2,7 @@ from conf import API_ROOT import dateutil.parser from datetime import datetime from flask import current_app -from flask.ext.restful import Api +from flask_restful import Api from web.views.common import api_permission from web.controllers import ArticleController |