Unify import style
This commit is contained in:
parent
e069dedcda
commit
a7a1ea72f1
@ -1,4 +1,4 @@
|
|||||||
from .. import bp_errors
|
from app.api import bp_errors
|
||||||
|
|
||||||
@bp_errors.app_errorhandler(400)
|
@bp_errors.app_errorhandler(400)
|
||||||
def bad_request(e):
|
def bad_request(e):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from flask import jsonify, abort
|
from flask import jsonify, abort
|
||||||
|
|
||||||
from .. import bp
|
from app.api import bp
|
||||||
|
|
||||||
@bp.route('/')
|
@bp.route('/')
|
||||||
def hello():
|
def hello():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user