Fixing pull requests comments

- full path to imports
- renamed client lib from jwt->authentication
This commit is contained in:
Martyn Inglis
2015-12-15 14:36:57 +00:00
parent 87138c86f8
commit 4caf0fcad6
5 changed files with 6 additions and 6 deletions

View File

@@ -11,5 +11,5 @@ main = Blueprint('main', __name__)
main.before_request(requires_auth)
from .views import notifications, index
from . import errors
from app.main.views import notifications, index
from app.main import errors

View File

@@ -1,5 +1,5 @@
from flask import request, jsonify, _request_ctx_stack
from client.jwt import decode_jwt_token, get_token_issuer
from client.authentication import decode_jwt_token, get_token_issuer
from client.errors import TokenDecodeError, TokenRequestError, TokenExpiredError, TokenPayloadError

View File

@@ -1,6 +1,6 @@
from flask import jsonify
from . import main
from app.main import main
@main.app_errorhandler(400)